mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-18 12:28:31 +01:00
Disable -fPIC for echoprint in MinGW.
This commit is contained in:
parent
bd5fe66fec
commit
c7fef47e61
11
3rdparty/echoprint-codegen/CMakeLists.txt
vendored
11
3rdparty/echoprint-codegen/CMakeLists.txt
vendored
@ -14,5 +14,12 @@ include_directories(${Boost_INCLUDE_DIRS})
|
|||||||
add_library(echoprint STATIC ${ECHOPRINT-SOURCES})
|
add_library(echoprint STATIC ${ECHOPRINT-SOURCES})
|
||||||
|
|
||||||
set_target_properties(echoprint PROPERTIES
|
set_target_properties(echoprint PROPERTIES
|
||||||
COMPILE_DEFINITIONS "BOOST_UBLAS_NDEBUG;NDEBUG"
|
COMPILE_DEFINITIONS "BOOST_UBLAS_NDEBUG;NDEBUG")
|
||||||
COMPILE_FLAGS "-O3 -fPIC")
|
|
||||||
|
if(NOT WIN32)
|
||||||
|
set_target_properties(echoprint PROPERTIES
|
||||||
|
COMPILE_FLAGS "-O3 -fPIC")
|
||||||
|
else(NOT WIN32)
|
||||||
|
set_target_properties(echoprint PROPERTIES
|
||||||
|
COMPILE_FLAGS "-O3")
|
||||||
|
endif(NOT WIN32)
|
||||||
|
Loading…
Reference in New Issue
Block a user