From: maier Date: Tue, 24 Dec 2013 19:41:20 +0000 (+0000) Subject: CMake: Workaround for a CMake bug: Add the library to the library component X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2518e330790c81524f0d38bd61680147b9bed6b8;p=dealii-svn.git CMake: Workaround for a CMake bug: Add the library to the library component git-svn-id: https://svn.dealii.org/trunk@32117 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/CMakeLists.txt b/deal.II/source/CMakeLists.txt index fe94c540fa..0525ca1b93 100644 --- a/deal.II/source/CMakeLists.txt +++ b/deal.II/source/CMakeLists.txt @@ -99,11 +99,11 @@ FOREACH(build ${DEAL_II_BUILD_TYPES}) ) INSTALL(TARGETS ${DEAL_II_BASE_NAME}${DEAL_II_${build}_SUFFIX} + COMPONENT library EXPORT ${DEAL_II_PROJECT_CONFIG_NAME}Targets RUNTIME DESTINATION ${DEAL_II_EXECUTABLE_RELDIR} LIBRARY DESTINATION ${DEAL_II_LIBRARY_RELDIR} ARCHIVE DESTINATION ${DEAL_II_LIBRARY_RELDIR} - COMPONENT library ) ENDFOREACH()