r15142 by fschmid - Fixed Out-of-Scource builds when DWANT_PRIVATA_CAIRO=1

scribus-commit scribus-commit at lists.scribus.net
Sun May 30 17:00:21 CEST 2010


Revision: 15142
Author: fschmid
Date: 2010-05-30T14:52:20.727624Z
Commit message: Fixed Out-of-Scource builds when DWANT_PRIVATA_CAIRO=1

Changeset: 
M  /trunk/Scribus/scribus/CMakeLists.txt

Diffs:
Index: scribus/CMakeLists.txt
===================================================================
--- scribus/CMakeLists.txt	(revision 15141)
+++ scribus/CMakeLists.txt	(revision 15142)
@@ -966,7 +966,7 @@
 
 IF(WANT_PRIVATE_CAIRO)
 	SET(SCRIBUS_CAIRO_LIB "scribus_cairo_lib")
-	INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/third_party/cairo)
+	INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/third_party/cairo)
 	LINK_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/third_party/cairo)
 	TARGET_LINK_LIBRARIES(${EXE_NAME} ${PIXMAN_LIBRARIES} ${SCRIBUS_CAIRO_LIB})
 ELSE(WANT_PRIVATE_CAIRO)




More information about the scribus-commit mailing list