From: Matthias 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-Tag: v8.2.0-rc1~1111 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51327b5847601034de97dfc4a4824d2ed4b45473;p=dealii.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()