r24353 by craig - Fix cairo build error

scribus-commit scribus-commit at lists.scribus.net
Tue Dec 22 22:51:42 UTC 2020


Author: craig
Date: Tue Dec 22 22:51:42 2020
New Revision: 24353

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24353
Log:
Fix cairo build error

Modified:
    trunk/Scribus/scribus/CMakeLists.txt

Modified: trunk/Scribus/scribus/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24353&path=/trunk/Scribus/scribus/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/CMakeLists.txt	(original)
+++ trunk/Scribus/scribus/CMakeLists.txt	Tue Dec 22 22:51:42 2020
@@ -1289,10 +1289,10 @@
 
 
 #Set up libraries to link with all found packages
-include_directories(${CAIRO_INCLUDE_DIR})
-target_link_libraries(${EXE_NAME} ${CAIRO_LIBRARIES})
-link_directories(${PREFIX_CAIRO_LIB})
-set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_RPATH};${PREFIX_CAIRO_LIB}")
+include_directories(${cairo_INCLUDE_DIR})
+target_link_libraries(${EXE_NAME} ${cairo_LIBRARIES})
+link_directories(${PREFIX_cairo_LIB})
+set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_RPATH};${PREFIX_cairo_LIB}")
 
 message("RPATH: ${CMAKE_INSTALL_RPATH}")
 




More information about the scribus-commit mailing list