mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07:00
Default to static linking on both MSVC and MINGW
This commit is contained in:
parent
f3271e8f12
commit
8d6a04a9f0
@ -63,7 +63,12 @@ if(APPLE)
|
|||||||
include_directories(SYSTEM /usr/include/malloc)
|
include_directories(SYSTEM /usr/include/malloc)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(STATIC ${MSVC} CACHE BOOL "Link libraries statically")
|
if(MSVC OR MINGW)
|
||||||
|
set(DEFAULT_STATIC true)
|
||||||
|
else()
|
||||||
|
set(DEFAULT_STATIC false)
|
||||||
|
endif()
|
||||||
|
set(STATIC ${DEFAULT_STATIC} CACHE BOOL "Link libraries statically")
|
||||||
|
|
||||||
if (UNIX AND NOT APPLE)
|
if (UNIX AND NOT APPLE)
|
||||||
# Note that at the time of this writing the -Wstrict-prototypes flag added below will make this fail
|
# Note that at the time of this writing the -Wstrict-prototypes flag added below will make this fail
|
||||||
|
Loading…
Reference in New Issue
Block a user