Skip to content

Commit ca94c6b

Browse files
committed
fix core being set exclude all
1 parent 03935d8 commit ca94c6b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ if (BUILD_TESTING)
4848

4949
endif ()
5050
endforeach()
51-
set_target_properties(core PROPERTIES EXCLUDE_FROM_ALL off)
51+
if(pyexiv2bind_generate_python_bindings)
52+
set_target_properties(core PROPERTIES EXCLUDE_FROM_ALL off)
53+
endif()
5254
endif()
5355

5456
FetchContent_MakeAvailable(libcatch2)

0 commit comments

Comments
 (0)