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)
SET(INSTALL_PATH .)
ELSE(WIN32)
IF(${LIBRARY_NAME}_INSTALL_FOLDER)
- SET(INSTALL_PATH lib/${${LIBRARY_NAME}_INSTALL_FOLDER})
+##EED SET(INSTALL_PATH lib/${${LIBRARY_NAME}_INSTALL_FOLDER})
+ SET(INSTALL_PATH ${${LIBRARY_NAME}_INSTALL_TREE_RELATIVE_LIBRARY_PATHS}/${${LIBRARY_NAME}_INSTALL_FOLDER})
ELSE(${LIBRARY_NAME}_INSTALL_FOLDER)
- SET(INSTALL_PATH lib/${LIBRARY_NAME})
+##EED SET(INSTALL_PATH lib/${LIBRARY_NAME})
+ SET(INSTALL_PATH ${${LIBRARY_NAME}_INSTALL_TREE_RELATIVE_LIBRARY_PATHS}/${LIBRARY_NAME})
ENDIF(${LIBRARY_NAME}_INSTALL_FOLDER)
ENDIF(WIN32)