]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
CMake: Workaround for a CMake bug: Add the library to the library component
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 24 Dec 2013 19:41:20 +0000 (19:41 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 24 Dec 2013 19:41:20 +0000 (19:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@32117 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/CMakeLists.txt

index fe94c540faec753904c16cdd43ff7a35f4dcfd8b..0525ca1b93fe12d9fd96380daa96de61e2ad12b5 100644 (file)
@@ -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()
 

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


Typeset in Trocchi and Trocchi Bold Sans Serif.