Skip to content

Commit fe565cc

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 80d4264 commit fe565cc

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

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

770770
macro(prefer_package LIB_NAME LIB_CMAKE)
771771
if (PREFER_EXTERNAL_LIBS AND NOT NACL)

0 commit comments

Comments
 (0)