Skip to content
Snippets Groups Projects
Commit b458b2b3 authored by Maurice Zimmnau's avatar Maurice Zimmnau
Browse files

Updated copy assignment for std libraries for unix systems

parent cb0062b6
No related branches found
No related tags found
5 merge requests!263Apply 1 suggestion(s) to 1 file(s),!261Reintruduced automatic flight condition selection,!245Apply 1 suggestion(s) to 1 file(s),!233Initial open source version,!188Updated copy assignment for std libraries for unix systems
......@@ -71,11 +71,14 @@ add_subdirectory(LiftingLine)
# Add the installation rules
install(TARGETS ${MODULE_NAME} DESTINATION ${MODULE_NAME})
install(FILES
if(WIN32)
install(FILES
${MODULE_NAME}_conf.xml
gmp-10.dll
mpfr-6.dll
DESTINATION ${MODULE_NAME})
endif()
install(
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/LiftingLine
DESTINATION ${MODULE_NAME}
......
......@@ -91,11 +91,13 @@ endif()
# Add the installation rules
install (TARGETS ${MODULE_NAME} DESTINATION ${MODULE_NAME})
install (FILES
if(WIN32)
install(FILES
${MODULE_NAME}_conf.xml
gmp-10.dll
mpfr-6.dll
DESTINATION ${MODULE_NAME})
endif()
# Find and include all dependet libraries if dynamically linked
if(BUILD_SHARED_LIBS)
......
......@@ -85,11 +85,13 @@ endif()
# Add the installation rules
install(TARGETS ${MODULE_NAME} DESTINATION ${MODULE_NAME})
install(FILES
if(WIN32)
install(FILES
${MODULE_NAME}_conf.xml
gmp-10.dll
mpfr-6.dll
DESTINATION ${MODULE_NAME})
endif()
# Find and include all dependet libraries if dynamically linked
if(BUILD_SHARED_LIBS)
......
......@@ -88,11 +88,13 @@ endif()
# Add the installation rules
install (TARGETS ${MODULE_NAME} DESTINATION ${MODULE_NAME})
install (FILES
${MODULE_NAME}_conf.xml
if(WIN32)
install(FILES
${MODULE_NAME}_conf.xml
gmp-10.dll
mpfr-6.dll
DESTINATION ${MODULE_NAME})
endif()
# Find and include all dependet libraries if dynamically linked
if(BUILD_SHARED_LIBS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment