parent
263b405ab4
commit
719b497daa
@ -107,7 +107,7 @@ endif()
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
# Linking fails without this
|
# Linking fails without this
|
||||||
if( NOT WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" )
|
if( NOT WIN32 AND 64_BIT_PLATFORM )
|
||||||
set_target_properties( BoostParts PROPERTIES COMPILE_FLAGS "-fPIC")
|
set_target_properties( BoostParts PROPERTIES COMPILE_FLAGS "-fPIC")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -83,13 +83,11 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Check if platform is 64 bit
|
# Check if platform is 64 bit
|
||||||
if( NOT APPLE )
|
|
||||||
if( CMAKE_SIZEOF_VOID_P EQUAL 4 )
|
if( CMAKE_SIZEOF_VOID_P EQUAL 4 )
|
||||||
set( 64_BIT_PLATFORM 0 )
|
set( 64_BIT_PLATFORM 0 )
|
||||||
else()
|
else()
|
||||||
set( 64_BIT_PLATFORM 1 )
|
set( 64_BIT_PLATFORM 1 )
|
||||||
endif()
|
endif()
|
||||||
endif()
|
|
||||||
|
|
||||||
add_subdirectory( BoostParts )
|
add_subdirectory( BoostParts )
|
||||||
add_subdirectory( ycm )
|
add_subdirectory( ycm )
|
||||||
|
Loading…
Reference in New Issue
Block a user