mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-14 06:48:39 -04:00
chore: catch --as-needed
(see gh #184)
This commit is contained in:
parent
22c079a4ca
commit
39d87c9c98
@ -284,6 +284,10 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
|||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
set(MSVC_USE_STATIC_RUNTIME ON CACHE BOOL "static build")
|
set(MSVC_USE_STATIC_RUNTIME ON CACHE BOOL "static build")
|
||||||
|
else()
|
||||||
|
if(CMAKE_EXE_LINKER_FLAGS MATCHES "--as-needed")
|
||||||
|
message(FATAL_ERROR "DwarFS cannot be built with --as-needed")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(ZSTD_INCLUDE_DIR
|
set(ZSTD_INCLUDE_DIR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user