Skip to content

Commit

Permalink
Modify CMakeLists.txt.
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Ahrenkiel authored and Phil Ahrenkiel committed Feb 26, 2024
1 parent 3a9b069 commit 10663ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ add_subdirectory(vendor)
add_subdirectory(src)

if (${PROJECT_NAME}_BUILD_TESTING)
add_subdirectory(test/unit_tests)
add_subdirectory(test)
if (${PROJECT_NAME}_COVERAGE)
coverage_evaluate()
Expand Down
2 changes: 2 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ target_link_libraries(testTool PRIVATE ${libs})

target_compile_features(testTool PRIVATE cxx_std_17)

add_subdirectory(unit_tests)

# Add output directory for test results
add_custom_target(results_directory ALL COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_CURRENT_BINARY_DIR}/output")

Expand Down

0 comments on commit 10663ef

Please sign in to comment.