Skip to content

Commit

Permalink
Merge pull request #51 from jmckenna/cmake-build-testing-mismatch
Browse files Browse the repository at this point in the history
fix mis-matching CMake arguments
  • Loading branch information
rouault authored Oct 28, 2023
2 parents 0d1d39a + 0393e4d commit 7faa065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7faa065

Please sign in to comment.