mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-18 04:19:55 +01:00
Disable -fPIC for echoprint in MinGW.
This commit is contained in:
parent
bd5fe66fec
commit
c7fef47e61
9
3rdparty/echoprint-codegen/CMakeLists.txt
vendored
9
3rdparty/echoprint-codegen/CMakeLists.txt
vendored
@ -14,5 +14,12 @@ include_directories(${Boost_INCLUDE_DIRS})
|
||||
add_library(echoprint STATIC ${ECHOPRINT-SOURCES})
|
||||
|
||||
set_target_properties(echoprint PROPERTIES
|
||||
COMPILE_DEFINITIONS "BOOST_UBLAS_NDEBUG;NDEBUG"
|
||||
COMPILE_DEFINITIONS "BOOST_UBLAS_NDEBUG;NDEBUG")
|
||||
|
||||
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