Skip to content

Commit 93ceea8

Browse files
committed
[INTERNAL] no static builds on mac
1 parent fa99985 commit 93ceea8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ if (LAMBDA_NATIVE_BUILD)
7171
message (STATUS "To deactivate, pass -DLAMBDA_NATIVE_BUILD=0 to cmake.")
7272
endif (LAMBDA_NATIVE_BUILD)
7373

74-
if (CMAKE_COMPILER_IS_GNUCXX OR COMPILER_IS_CLANG AND NOT MINGW)
74+
if ((CMAKE_COMPILER_IS_GNUCXX OR COMPILER_IS_CLANG) AND NOT APPLE)
7575
option (LAMBDA_STATIC_BUILD "Include all libraries in the binaries." OFF)
7676
if (LAMBDA_STATIC_BUILD)
7777
set(CMAKE_FIND_LIBRARY_SUFFIXES ".a")

0 commit comments

Comments
 (0)