We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fbb78b commit 3edd7ddCopy full SHA for 3edd7dd
1 file changed
src/CMakeLists.txt
@@ -72,12 +72,11 @@ if (LAMBDA_NATIVE_BUILD)
72
endif (LAMBDA_NATIVE_BUILD)
73
74
if (CMAKE_COMPILER_IS_GNUCXX OR COMPILER_IS_CLANG AND NOT MINGW)
75
- option (LAMBDA_STATIC_BUILD "Include all libraries in the binaries." ON)
+ option (LAMBDA_STATIC_BUILD "Include all libraries in the binaries." OFF)
76
if (LAMBDA_STATIC_BUILD)
77
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
78
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static")
79
message (STATUS "STATIC_BUILD activated, binaries built with all libs included.")
80
- message (STATUS "To deactivate, pass -DLAMBDA_STATIC_BUILD=0 to cmake.")
81
endif (LAMBDA_STATIC_BUILD)
82
endif ()
83
0 commit comments