mirror of
https://github.com/jwinterm/wownero.git
synced 2026-10-19 05:48:36 +02:00
cmake: use option() for STATIC
This commit is contained in:
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user