[nostalgia] Allow disabling of BUILD_SHARED_LIBS
This commit is contained in:
parent
c599905000
commit
8769305d12
@ -28,7 +28,7 @@ set(CMAKE_CXX_STANDARD 23)
|
||||
if(APPLE)
|
||||
set(CMAKE_MACOSX_RPATH OFF)
|
||||
else()
|
||||
if(UNIX)
|
||||
if(UNIX AND NOT DEFINED BUILD_SHARED_LIBS)
|
||||
set(BUILD_SHARED_LIBS ON)
|
||||
endif()
|
||||
set(CMAKE_INSTALL_RPATH "$ORIGIN/../lib")
|
||||
|
Loading…
Reference in New Issue
Block a user