Making -fPIC the default

Fixes #211
This commit is contained in:
Strahinja Val Markovic 2013-05-05 10:00:32 -07:00
parent bec04aaa04
commit 88bff3f5cf

View File

@ -106,8 +106,8 @@ endif()
############################################################################# #############################################################################
# Linking fails without this if( NOT WIN32 )
if( NOT WIN32 AND 64_BIT_PLATFORM ) # Linking fails without this on some platforms, notably anything x64.
set_target_properties( BoostParts PROPERTIES COMPILE_FLAGS "-fPIC") set_target_properties( BoostParts PROPERTIES COMPILE_FLAGS "-fPIC")
endif() endif()