r15404 by craig - #9311: Link to libutil on OpenBSD

scribus-commit scribus-commit at lists.scribus.net
Thu Aug 5 00:09:47 CEST 2010


Author: craig
Date: Wed Aug  4 22:09:47 2010
New Revision: 15404

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15404
Log:
#9311: Link to libutil on OpenBSD

Modified:
    branches/Version135/Scribus/scribus/CMakeLists.txt

Modified: branches/Version135/Scribus/scribus/CMakeLists.txt
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15404&path=/branches/Version135/Scribus/scribus/CMakeLists.txt
==============================================================================
--- branches/Version135/Scribus/scribus/CMakeLists.txt (original)
+++ branches/Version135/Scribus/scribus/CMakeLists.txt Wed Aug  4 22:09:47 2010
@@ -761,6 +761,11 @@
   TARGET_LINK_LIBRARIES(${EXE_NAME} dl)
 ENDIF(UNIX AND NOT CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
 
+# #9311 for the OpenBSD addition
+IF(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
+  TARGET_LINK_LIBRARIES(${EXE_NAME} util)
+ENDIF(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
+
 IF(WIN32)
   TARGET_LINK_LIBRARIES(${EXE_NAME} ${QT_QTMAIN_LIBRARY})
 ENDIF(WIN32)




More information about the scribus-commit mailing list