Better scripts/build.*.sh compatibility.
This commit is contained in:
parent
879e160ba3
commit
4b682b6633
8 changed files with 33 additions and 10 deletions
|
@ -96,6 +96,10 @@ elseif (CMAKE_CXX_COMPILER_ID MATCHES Clang)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if (BUILD_STATIC)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static")
|
||||
endif()
|
||||
|
||||
endif()
|
||||
|
||||
if (NOT WIN32)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue