mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-13 12:37:59 +01:00
16 lines
434 B
CMake
16 lines
434 B
CMake
IF(${PACKAGE_BUILD})
|
|
|
|
IF(WIN32)
|
|
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)
|
|
|
|
ENDIF(${BUILD_PACKAGE})
|
|
|
|
# TODO: handle libraries in Mac OS X version if needed
|
|
# TODO: handle other architectures
|