Skip to content

Commit 3edd7dd

Browse files
committed
[INTERNAL] make static_builds not be default
1 parent 6fbb78b commit 3edd7dd

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,11 @@ if (LAMBDA_NATIVE_BUILD)
7272
endif (LAMBDA_NATIVE_BUILD)
7373

7474
if (CMAKE_COMPILER_IS_GNUCXX OR COMPILER_IS_CLANG AND NOT MINGW)
75-
option (LAMBDA_STATIC_BUILD "Include all libraries in the binaries." ON)
75+
option (LAMBDA_STATIC_BUILD "Include all libraries in the binaries." OFF)
7676
if (LAMBDA_STATIC_BUILD)
7777
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")
7878
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static")
7979
message (STATUS "STATIC_BUILD activated, binaries built with all libs included.")
80-
message (STATUS "To deactivate, pass -DLAMBDA_STATIC_BUILD=0 to cmake.")
8180
endif (LAMBDA_STATIC_BUILD)
8281
endif ()
8382

0 commit comments

Comments
 (0)