Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorMartin Hořeňovský2019-12-15 20:33:39 +0100
committerMartin Hořeňovský2019-12-15 20:33:39 +0100
commit5fbf04cd59ab2e082411ac2fb1aeb4fc97451ef4 (patch)
treebf8ee809ce4914f4a01a1f84fa3ea13d53d7d11e /examples
parent8b42acc328fc7b6c4526e649a30c4b3c198c974d (diff)
downloadcatch3-5fbf04cd59ab2e082411ac2fb1aeb4fc97451ef4.tar.gz
Redo how the separate compilation tests are handled
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index b8612581..ecc14b8f 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -20,8 +20,8 @@ add_executable( 020-MultiFile
add_executable(231-Cfg_OutputStreams
231-Cfg-OutputStreams.cpp
)
-StampOutLibrary(231-Cfg_OutputStreams)
-target_compile_definitions(Catch2_231-Cfg_OutputStreams PUBLIC CATCH_CONFIG_NOSTDOUT)
+target_link_libraries(231-Cfg_OutputStreams Catch2_buildall_interface)
+target_compile_definitions(231-Cfg_OutputStreams PUBLIC CATCH_CONFIG_NOSTDOUT)
# These examples use the standard separate compilation
set( SOURCES_IDIOMATIC_EXAMPLES