Skip to content

Commit

Permalink
resolved comments
Browse files Browse the repository at this point in the history
  • Loading branch information
SpectraL519 committed May 16, 2024
1 parent 4330f48 commit f299e06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ install(EXPORT cpp-ap-targets
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/cpp-ap
)

# For FetchContent usage
# Include test directory if CPP-AP is a top level project
if (CPP_AP_IS_TOP_LEVEL_PROJECT AND BUILD_TESTS)
add_subdirectory(test)
endif()
Expand Down
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ target_include_directories(run_tests PRIVATE ${INCLUDE_DIRS})
target_compile_options(run_tests PRIVATE ${CMAKE_CXX_FLAGS})
target_link_libraries(run_tests PRIVATE cpp-ap)

# Create symbolic links in the build_ut directory
# Create symbolic links in the build directory
set(EXECUTABLE_DIR "${CMAKE_CURRENT_BINARY_DIR}")
foreach(config ${CMAKE_CONFIGURATION_TYPES})
file(CREATE_LINK "${EXECUTABLE_DIR}/run_tests" "${EXECUTABLE_DIR}/test_${config}" SYMBOLIC)
Expand Down

0 comments on commit f299e06

Please sign in to comment.