- fix update path for the doc subpackage (#512498) - preserve directories when installing headers (#511800)
13 lines
648 B
Diff
13 lines
648 B
Diff
--- scribus-1.3.5.rc3/scribus/CMakeLists.txt.orig 2009-05-17 23:23:08.000000000 +0200
|
|
+++ scribus-1.3.5.rc3/scribus/CMakeLists.txt 2009-07-21 15:09:25.000000000 +0200
|
|
@@ -834,8 +834,7 @@ ENDIF(APPLEBUNDLE)
|
|
|
|
#Install our header files, selected from all existing dirs
|
|
IF(NOT WANT_NOHEADERINSTALL)
|
|
- FILE( GLOB_RECURSE SCRIBUS_HEADER_FILES *.h )
|
|
- INSTALL(FILES ${SCRIBUS_HEADER_FILES} DESTINATION ${INCLUDEDIR})
|
|
+ INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ DESTINATION ${INCLUDEDIR} FILES_MATCHING PATTERN "*.h")
|
|
ELSE(NOT WANT_NOHEADERINSTALL)
|
|
MESSAGE(STATUS "No source header files will be installed")
|
|
ENDIF(NOT WANT_NOHEADERINSTALL)
|