Commit dc798e1a authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[ADD] - ext libs get installed now too

parent a4d6be6a
......@@ -267,7 +267,7 @@ IF( NOT EXISTS ${OW_CONFIG_DIR}/walnut.cfg )
CONFIGURE_FILE( ${PROJECT_SOURCE_DIR}/../resources/etc/OpenWalnut/walnut.cfg.official ${OW_CONFIG_DIR}/walnut.cfg COPYONLY )
MESSAGE( STATUS "Copied walnut.cfg.official to ${OW_CONFIG_DIR}/walnut.cfg" )
ENDIF()
INSTALL( FILES ${PROJECT_SOURCE_DIR}/../resources/etc/OpenWalnut/walnut.cfg.official DESTINATION ${OW_CONFIG_DIR_RELATIVE} RENAME walnut.cfg )
INSTALL( FILES ${PROJECT_SOURCE_DIR}/../resources/etc/OpenWalnut/walnut.cfg.official DESTINATION ${OW_CONFIG_DIR_RELATIVE} RENAME walnut.cfg )
# ---------------------------------------------------------------------------------------------------------------------------------------------------
#
......
......@@ -53,11 +53,11 @@ TARGET_LINK_LIBRARIES( ${LibName} ${OWExtBioSigName} ${OWExtEEPName} ${OWExtNift
)
# Do not forget the install targets
INSTALL( TARGETS ${LibName}
INSTALL( TARGETS ${LibName}
LIBRARY
DESTINATION ${OW_LIBRARY_DIR_RELATIVE}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
GROUP_READ GROUP_EXECUTE
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
GROUP_READ GROUP_EXECUTE
WORLD_READ WORLD_EXECUTE
)
......
......@@ -17,3 +17,13 @@ ADD_LIBRARY( OWext_biosig ${BIOSIG_SRC} )
IF( CMAKE_HOST_SYSTEM MATCHES Windows )
TARGET_LINK_LIBRARIES( OWext_biosig ws2_32 )
ENDIF()
# install target
INSTALL( TARGETS OWext_biosig
LIBRARY
DESTINATION ${OW_LIBRARY_DIR_RELATIVE}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
GROUP_READ GROUP_EXECUTE
WORLD_READ WORLD_EXECUTE
)
......@@ -17,3 +17,13 @@ ADD_LIBRARY( OWext_biosig ${BIOSIG_SRC} )
IF( CMAKE_HOST_SYSTEM MATCHES Windows )
TARGET_LINK_LIBRARIES( OWext_biosig ws2_32 )
ENDIF()
# install target
INSTALL( TARGETS OWext_biosig
LIBRARY
DESTINATION ${OW_LIBRARY_DIR_RELATIVE}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
GROUP_READ GROUP_EXECUTE
WORLD_READ WORLD_EXECUTE
)
......@@ -20,3 +20,12 @@ ENDIF()
IF(MSVC_IDE)
SET_TARGET_PROPERTIES( OWext_eep PROPERTIES PREFIX "../")
ENDIF(MSVC_IDE)
# install target
INSTALL( TARGETS OWext_eep
LIBRARY
DESTINATION ${OW_LIBRARY_DIR_RELATIVE}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
GROUP_READ GROUP_EXECUTE
WORLD_READ WORLD_EXECUTE
)
......@@ -49,3 +49,20 @@ ENDIF(MSVC_IDE)
IF(UNIX)
TARGET_LINK_LIBRARIES(${NIFTI_NIFTILIB_NAME} -lm)
ENDIF(UNIX)
# Install the libs
INSTALL( TARGETS ${NIFTI_NIFTILIB_NAME}
LIBRARY
DESTINATION ${OW_LIBRARY_DIR_RELATIVE}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
GROUP_READ GROUP_EXECUTE
WORLD_READ WORLD_EXECUTE
)
INSTALL( TARGETS ${NIFTI_ZNZLIB_NAME}
LIBRARY
DESTINATION ${OW_LIBRARY_DIR_RELATIVE}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
GROUP_READ GROUP_EXECUTE
WORLD_READ WORLD_EXECUTE
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment