From 923dc5953a93b0db1ba723a4cff040150dabfaaf Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Sat, 5 Jan 2013 15:47:14 +0100 Subject: Fix cmake build: kghostview parallel build This resolves Bug 1301 --- CMakeLists.txt | 3 ++- kghostview/CMakeLists.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a0390f4d..42794966 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -113,7 +113,8 @@ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" ) ##### tdegraphics directories ################### -if( BUILD_KFILE_PLUGINS OR BUILD_GHOSTKVIEW ) +# kfile-plugins/ps requires dscparse-static library +if( BUILD_KFILE_PLUGINS AND NOT BUILD_KGHOSTVIEW ) add_subdirectory( kghostview/dscparse ) endif( ) diff --git a/kghostview/CMakeLists.txt b/kghostview/CMakeLists.txt index 2cde1120..cdf00f75 100644 --- a/kghostview/CMakeLists.txt +++ b/kghostview/CMakeLists.txt @@ -10,6 +10,7 @@ ################################################# add_subdirectory( data ) +add_subdirectory( dscparse ) include_directories( ${CMAKE_CURRENT_BINARY_DIR} -- cgit v1.2.1