[nfde] Make only option BUILD_SHARED_LIBS if not already set
This commit is contained in:
parent
6ddb6b42ed
commit
3fba36b4a8
4
deps/nfde/CMakeLists.txt
vendored
4
deps/nfde/CMakeLists.txt
vendored
@ -6,7 +6,9 @@ if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
|
|||||||
set(nfd_ROOT_PROJECT ON)
|
set(nfd_ROOT_PROJECT ON)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
option(BUILD_SHARED_LIBS "Build a shared library instead of static" OFF)
|
if(NOT DEFINED BUILD_SHARED_LIBS)
|
||||||
|
option(BUILD_SHARED_LIBS "Build a shared library instead of static" OFF)
|
||||||
|
endif()
|
||||||
option(NFD_BUILD_TESTS "Build tests for nfd" ${nfd_ROOT_PROJECT})
|
option(NFD_BUILD_TESTS "Build tests for nfd" ${nfd_ROOT_PROJECT})
|
||||||
option(NFD_INSTALL "Generate install target for nfd" ${nfd_ROOT_PROJECT})
|
option(NFD_INSTALL "Generate install target for nfd" ${nfd_ROOT_PROJECT})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user