Skip to content

Commit af298e9

Browse files
committed
Fix CMakeLists.txt
1 parent 755fd50 commit af298e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

exercises/race/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ target_link_libraries( racing PRIVATE Threads::Threads )
1515
# Create the "solution executable".
1616
add_executable( racing.sol1 EXCLUDE_FROM_ALL "solution/racing.sol1.cpp" )
1717
target_link_libraries( racing.sol1 PRIVATE Threads::Threads )
18+
add_custom_target( solution1 )
1819
add_dependencies( solution1 racing.sol1 )
1920
add_executable( racing.sol2 EXCLUDE_FROM_ALL "solution/racing.sol2.cpp" )
2021
target_link_libraries( racing.sol2 PRIVATE Threads::Threads )
22+
add_custom_target( solution2 )
2123
add_dependencies( solution2 racing.sol2 )
2224
add_dependencies( solution solution1 solution2 )

0 commit comments

Comments
 (0)