mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-13 14:27:30 -04:00
build: ensure BUILD_SHARED_LIBS is always set to either ON or OFF
This commit is contained in:
parent
ce4bee1ad6
commit
08b2a8f327
@ -86,6 +86,10 @@ else()
|
|||||||
set(XXHASH_GIT_REPO https://github.com/Cyan4973/xxHash.git)
|
set(XXHASH_GIT_REPO https://github.com/Cyan4973/xxHash.git)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(NOT DEFINED BUILD_SHARED_LIBS)
|
||||||
|
set(BUILD_SHARED_LIBS OFF)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(NOT DISABLE_CCACHE)
|
if(NOT DISABLE_CCACHE)
|
||||||
find_program(CCACHE_EXE ccache ccache.exe PATHS "c:/bin")
|
find_program(CCACHE_EXE ccache ccache.exe PATHS "c:/bin")
|
||||||
if(CCACHE_EXE)
|
if(CCACHE_EXE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user