mirror of
https://github.com/monero-project/monero.git
synced 2024-12-23 12:09:54 +00:00
cmake: use option() for STATIC
This commit is contained in:
parent
c24d22b44e
commit
799e8b241f
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ if(MSVC OR MINGW)
|
||||||
else()
|
else()
|
||||||
set(DEFAULT_STATIC false)
|
set(DEFAULT_STATIC false)
|
||||||
endif()
|
endif()
|
||||||
set(STATIC ${DEFAULT_STATIC} CACHE BOOL "Link libraries statically")
|
option(STATIC "Link libraries statically" ${DEFAULT_STATIC})
|
||||||
|
|
||||||
IF(STATIC)
|
IF(STATIC)
|
||||||
IF(MSVC)
|
IF(MSVC)
|
||||||
|
|
Loading…
Reference in a new issue