libsuperderpy/lib/CMakeLists.txt

17 lines
434 B
CMake
Raw Normal View History

IF(${PACKAGE_BUILD})
IF(WIN32)
2012-09-19 03:15:09 +02:00
FILE(GLOB files "${CMAKE_CURRENT_SOURCE_DIR}/win32/*.dll")
INSTALL(FILES ${files} DESTINATION ${BIN_INSTALL_DIR})
ENDIF(WIN32)
IF(UNIX)
FILE(GLOB files "${CMAKE_SOURCE_DIR}/lib/linux-x86/*.so*")
INSTALL(FILES ${files} DESTINATION ${LIB_INSTALL_DIR}/superderpy)
ENDIF(UNIX)
2012-09-20 02:03:56 +02:00
ENDIF(${PACKAGE_BUILD})
2012-09-19 03:15:09 +02:00
# TODO: handle libraries in Mac OS X version if needed
# TODO: handle other architectures