SET(BBTK_BBFY ${BBTK_BIN_PATH}/bbfy.exe)
ELSE(WIN32)
- SET(BBTK_LIB_PATH lib)
+ if( NOT APPLE )
+ # check 64 bit
+ if( ${CMAKE_SIZEOF_VOID_P} EQUAL 4 )
+ set( HAVE_64_BIT 0 )
+ SET(BBTK_LIB_PATH lib)
+ else( ${CMAKE_SIZEOF_VOID_P}EQUAL 4 )
+ set( HAVE_64_BIT 1 )
+ SET(BBTK_LIB_PATH lib64)
+ endif( ${CMAKE_SIZEOF_VOID_P} EQUAL 4 )
+ endif( NOT APPLE )
# For Xcode : have to test the cmake generator !
IF ( CMAKE_GENERATOR STREQUAL Xcode)
SET(BBTK_BIN_PATH ${EXECUTABLE_OUTPUT_PATH}/Debug)