diff --git a/aerodynamic_analysis/CMakeLists.txt b/aerodynamic_analysis/CMakeLists.txt index 40e6de232cd64e33d405bbe7c88cdcc9dfd5e325..e9c083d394144ec09c148c0ad49e2bc9bbd7f9fe 100644 --- a/aerodynamic_analysis/CMakeLists.txt +++ b/aerodynamic_analysis/CMakeLists.txt @@ -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} diff --git a/empennage_design/CMakeLists.txt b/empennage_design/CMakeLists.txt index 6329e329a7e898cc260e7824111e158fef44c8b7..42c86bcb17af812accf4e909a16459fd1235760d 100644 --- a/empennage_design/CMakeLists.txt +++ b/empennage_design/CMakeLists.txt @@ -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) diff --git a/systems_design/CMakeLists.txt b/systems_design/CMakeLists.txt index 9f1ae408714eff494c9adecd55aa4f216f30d515..5dbef858e7ec7098c2a32150585de9bcb816b5ab 100644 --- a/systems_design/CMakeLists.txt +++ b/systems_design/CMakeLists.txt @@ -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) diff --git a/wing_design/CMakeLists.txt b/wing_design/CMakeLists.txt index cba6e661aaf515743c3063b56ea2e761371111e4..318f8530b160ce7548d061d8c2dce2422b927c48 100644 --- a/wing_design/CMakeLists.txt +++ b/wing_design/CMakeLists.txt @@ -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)