diff --git a/CMakeLists.txt b/CMakeLists.txt index a72ef9d..694a9d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -221,7 +221,7 @@ foreach(executable ${executables}) if(BUILD_TESTING) get_target_property(${executable}_LOC ${executable} LOCATION) file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/script.sed "s?\\./${executable}?${${executable}_LOC}?\n") - endif(BUILD_TEST) + endif() if (NOT MSVC) target_compile_options(${executable} PRIVATE -Wall -Wextra) endif()