mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 03:13:28 +01:00
cmake: use option() for STATIC
This commit is contained in:
parent
c24d22b44e
commit
799e8b241f
@ -90,7 +90,7 @@ if(MSVC OR MINGW)
|
||||
else()
|
||||
set(DEFAULT_STATIC false)
|
||||
endif()
|
||||
set(STATIC ${DEFAULT_STATIC} CACHE BOOL "Link libraries statically")
|
||||
option(STATIC "Link libraries statically" ${DEFAULT_STATIC})
|
||||
|
||||
IF(STATIC)
|
||||
IF(MSVC)
|
||||
|
Loading…
Reference in New Issue
Block a user