Skip to content

Commit 02e14e8

Browse files
Fixed cmake for tests
Closes #515
1 parent 484d6e7 commit 02e14e8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

test/v2/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
enable_testing()
22

3-
add_library(boost_process_v2_test_impl test_impl.cpp)
4-
target_compile_definitions(boost_process_v2_test_impl PUBLIC -DBOOST_PROCESS_V2_SEPARATE_COMPILATION=1)
3+
add_library(boost_process_v2_test_impl OBJECT test_impl.cpp)
54

65
if (WIN32)
76
target_compile_definitions(boost_process_v2_test_impl PUBLIC WIN32_LEAN_AND_MEAN=1)
@@ -36,4 +35,4 @@ function(boost_process_v2_test_with_target name)
3635
endfunction()
3736

3837
boost_process_v2_test_with_target(process)
39-
boost_process_v2_test_with_target(ext)
38+
boost_process_v2_test_with_target(ext)

test/v2/Jamfile.jam

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ project : requirements
3333
<os>NT,<toolset>cw:<library>ws2_32
3434
<os>NT,<toolset>gcc:<library>ws2_32
3535
<os>NT,<toolset>gcc:<library>Bcrypt
36-
<define>BOOST_PROCESS_V2_SEPARATE_COMPILATION=1
3736
<library>/boost/test//included
3837
;
3938

0 commit comments

Comments
 (0)