mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-03 13:55:39 +02:00
Add examples subdirectory to CMake build; included if BUILD_EXAMPLES is true
This commit is contained in:

committed by
Martin Hořeňovský

parent
4ecb2e112e
commit
85de0727d4
@@ -337,6 +337,11 @@ if (NOT NO_SELFTEST)
|
||||
endif() # !NO_SELFTEST
|
||||
|
||||
|
||||
if(BUILD_EXAMPLES)
|
||||
add_subdirectory(examples)
|
||||
endif()
|
||||
|
||||
|
||||
install(DIRECTORY "single_include/" DESTINATION "include/catch")
|
||||
|
||||
## Provide some pkg-config integration
|
||||
|
Reference in New Issue
Block a user