mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
disable fPIC for windows
This commit is contained in:
parent
3b461cfa02
commit
13cbf0bbca
@ -50,4 +50,6 @@ add_library(FuzzyLite_lib STATIC ${FuzzyLite_lib_SRCS})
|
|||||||
# all symobls from FuzzyLite exposed to public. This triggers errors
|
# all symobls from FuzzyLite exposed to public. This triggers errors
|
||||||
# when library is checked by analizers for issues
|
# when library is checked by analizers for issues
|
||||||
# Correct solution is either make FuzzyLite symbols hidden or turn lib into dynamic
|
# Correct solution is either make FuzzyLite symbols hidden or turn lib into dynamic
|
||||||
SET_TARGET_PROPERTIES(FuzzyLite_lib PROPERTIES COMPILE_FLAGS "-fPIC")
|
if(NOT WIN32)
|
||||||
|
SET_TARGET_PROPERTIES(FuzzyLite_lib PROPERTIES COMPILE_FLAGS "-fPIC")
|
||||||
|
endif()
|
Loading…
Reference in New Issue
Block a user