Skip to content

Commit 5140f0c

Browse files
committed
cmake: do not prefer system libs by default
Engine or game submodules maybe much recent than the one the system provides, and define symbols not found in system libraries. While it is probably unlikely to happen with freetype, this is more likely to happen with some game libraries like Lua.
1 parent 766bd9d commit 5140f0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ if (USE_BREAKPAD)
775775
endif()
776776
endif()
777777

778-
option(PREFER_EXTERNAL_LIBS "Tries to use system libs where possible." ON)
778+
option(PREFER_EXTERNAL_LIBS "Tries to use system libs where possible." OFF)
779779

780780
macro(prefer_package LIB_NAME LIB_CMAKE)
781781
if (NOT ${LIB_NAME}_FOUND)

0 commit comments

Comments
 (0)