1
0
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:
John Maguire 2011-06-29 14:32:49 +00:00
parent bd5fe66fec
commit c7fef47e61

View File

@ -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)