dont build shared libs when we are building static deps

pull/1673/head
Jeff Becker 3 years ago
parent d79b9bf59a
commit 5c6b0f7178
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -67,6 +67,11 @@ if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE RelWithDebInfo)
endif()
if(BUILD_STATIC_DEPS AND STATIC_LINK)
message(STATUS "we are building static deps so we won't build shared libs")
set(BUILD_SHARED_LIBS OFF)
endif()
include(CheckCXXSourceCompiles)
include(CheckLibraryExists)
set(CMAKE_CXX_STANDARD 17)

Loading…
Cancel
Save