Skip to content

Commit d906d3e

Browse files
committed
Fixed incorrect git detection causing tests to not be built
1 parent 308c9fd commit d906d3e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,7 @@ add_subdirectory("${PROJECT_SOURCE_DIR}/src/nativefiledialog-extended")
256256
add_subdirectory(devdoc)
257257

258258
# Unit tests
259-
if(git AND BUILD_TESTING)
260-
259+
if(Git_FOUND AND BUILD_TESTING)
261260
# find ffts, except on Apple Silicon where it's not supported
262261
if(NOT APPLE_SILICON)
263262
# ffts ships a broken pkgconfig file on some platforms so we are not going to use it

0 commit comments

Comments
 (0)