GET_TARGET_PROPERTY(_lib ${DEAL_II_BASE_NAME}${DEAL_II_${_build}_SUFFIX} LOCATION)
GET_FILENAME_COMPONENT(CONFIG_LIBRARY_${_build} "${_lib}" NAME)
- SET(CONFIG_LIBRARIES_${_build}
- \${DEAL_II_PATH}/\${DEAL_II_LIBRARY_RELDIR}/${CONFIG_LIBRARY_${_build}}
+ IF(CMAKE_SYSTEM_NAME MATCHES "CYGWIN" OR CMAKE_SYSTEM_NAME MATCHES "Windows")
+ SET(CONFIG_LIBRARIES_${_build}
+ \${DEAL_II_PATH}/\${DEAL_II_EXECUTABLE_RELDIR}/${CONFIG_LIBRARY_${_build}}
+ )
+ ELSE()
+ SET(CONFIG_LIBRARIES_${_build}
+ \${DEAL_II_PATH}/\${DEAL_II_LIBRARY_RELDIR}/${CONFIG_LIBRARY_${_build}}
+ )
+ ENDIF()
+
+ LIST(APPEND CONFIG_LIBRARIES_${_build}
${DEAL_II_EXTERNAL_LIBRARIES_${_build}}
${DEAL_II_EXTERNAL_LIBRARIES}
)
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams