freebsd-ports/textproc/wbxml2/files/patch-CMakeLists.txt
Martin Wilke 89542e0129 - Update to 0.10.7
PR:		138458
Submitted by:	Ports Fury
2009-09-02 16:44:02 +00:00

20 lines
1.2 KiB
Text

--- CMakeLists.txt.orig 2009-05-12 20:43:10.000000000 +0900
+++ CMakeLists.txt 2009-08-12 05:53:35.000000000 +0900
@@ -36,7 +36,7 @@
SET( LIB_SUFFIX "" CACHE STRING "The library directory suffix. 32bit empty string, 64 for 64bit." )
SET( LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE INTERNAL "libary location" )
-SET( LIBDATA_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE PATH "The library data directory" )
+SET( LIBDATA_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/libdata" CACHE PATH "The library data directory" )
SET( BIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE INTERNAL "binary location" )
SET( SHARE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share" CACHE INTERNAL "data location" )
SET( INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE INTERNAL "headers location" )
@@ -176,7 +176,7 @@
# ADD_CUSTOM_TARGET( DoxygenDoc )
# ADD_DEPENDENCIES( DoxygenDoc DoxygenDocLibrary DoxygenDocTools )
#ENDIF ( BUILD_DOCUMENTATION )
-OPTION( ENABLE_INSTALL_DOC "install documentation" ON )
+OPTION( ENABLE_INSTALL_DOC "install documentation" OFF )
IF( ENABLE_INSTALL_DOC )
ADD_DOCUMENTATION( TEXT FILE ${CMAKE_SOURCE_DIR}/AUTHORS )
ADD_DOCUMENTATION( TEXT FILE ${CMAKE_SOURCE_DIR}/BUGS )