Skip to content

Commit

Permalink
fix: version-info test was added even when ASAP_BUILD_TESTS is OFF
Browse files Browse the repository at this point in the history
  • Loading branch information
abdes committed Sep 20, 2022
1 parent a414907 commit b566e7b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tools/version-info/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,12 @@ target_include_directories(
# Run executable test
# ------------------------------------------------------------------------------

add_test(
NAME version-info
COMMAND ${MODULE_TARGET_NAME}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
if(ASAP_BUILD_TESTS)
add_test(
NAME version-info
COMMAND ${MODULE_TARGET_NAME}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
endif()

# ==============================================================================
# Deployment instructions
Expand Down

0 comments on commit b566e7b

Please sign in to comment.