IF (WIN32)
SET(CREA_LIB_PATH bin)
ELSE (WIN32)
- SET(CREA_LIB_PATH lib)
+ if( NOT APPLE )
+ # check 64 bit
+ if( ${CMAKE_SIZEOF_VOID_P} EQUAL 4 )
+ set( HAVE_64_BIT 0 )
+ SET(CREA_LIB_PATH lib)
+ else( ${CMAKE_SIZEOF_VOID_P}EQUAL 4 )
+ set( HAVE_64_BIT 1 )
+ SET(CREA_LIB_PATH lib64)
+ endif( ${CMAKE_SIZEOF_VOID_P} EQUAL 4 )
+ endif( NOT APPLE )
ENDIF(WIN32)