Skip to content

Commit 2ee50a1

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 49f51e6 commit 2ee50a1

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
@@ -766,7 +766,7 @@ if (USE_BREAKPAD)
766766
endif()
767767
endif()
768768

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

771771
macro(prefer_package LIB_NAME LIB_CMAKE)
772772
if (NOT ${LIB_NAME}_FOUND)

0 commit comments

Comments
 (0)