|
|
a26d68 |
diff -rup lloyd-yajl-fee1ebe.orig/src/CMakeLists.txt lloyd-yajl-fee1ebe.new/src/CMakeLists.txt
|
|
|
a26d68 |
--- lloyd-yajl-fee1ebe.orig/src/CMakeLists.txt 2011-12-20 00:23:22.000000000 +0000
|
|
|
a26d68 |
+++ lloyd-yajl-fee1ebe.new/src/CMakeLists.txt 2012-08-06 13:59:02.222065755 +0100
|
|
|
a26d68 |
@@ -30,7 +30,7 @@ ADD_DEFINITIONS(-DYAJL_BUILD)
|
|
|
a26d68 |
# set up some paths
|
|
|
a26d68 |
SET (libDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/lib)
|
|
|
a26d68 |
SET (incDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/include/yajl)
|
|
|
a26d68 |
-SET (shareDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/share/pkgconfig)
|
|
|
a26d68 |
+SET (pkgconfigDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/lib/pkgconfig)
|
|
|
a26d68 |
|
|
|
a26d68 |
# set the output path for libraries
|
|
|
a26d68 |
SET(LIBRARY_OUTPUT_PATH ${libDir})
|
|
|
a26d68 |
@@ -61,7 +61,7 @@ FILE(MAKE_DIRECTORY ${incDir})
|
|
|
a26d68 |
# generate build-time source
|
|
|
a26d68 |
SET(dollar $)
|
|
|
a26d68 |
CONFIGURE_FILE(api/yajl_version.h.cmake ${incDir}/yajl_version.h)
|
|
|
a26d68 |
-CONFIGURE_FILE(yajl.pc.cmake ${shareDir}/yajl.pc)
|
|
|
a26d68 |
+CONFIGURE_FILE(yajl.pc.cmake ${pkgconfigDir}/yajl.pc)
|
|
|
a26d68 |
|
|
|
a26d68 |
# copy public headers to output directory
|
|
|
a26d68 |
FOREACH (header ${PUB_HDRS})
|
|
|
a26d68 |
@@ -82,5 +82,5 @@ IF(NOT WIN32)
|
|
|
a26d68 |
INSTALL(TARGETS yajl_s ARCHIVE DESTINATION lib${LIB_SUFFIX})
|
|
|
a26d68 |
INSTALL(FILES ${PUB_HDRS} DESTINATION include/yajl)
|
|
|
a26d68 |
INSTALL(FILES ${incDir}/yajl_version.h DESTINATION include/yajl)
|
|
|
a26d68 |
- INSTALL(FILES ${shareDir}/yajl.pc DESTINATION share/pkgconfig)
|
|
|
a26d68 |
+ INSTALL(FILES ${pkgconfigDir}/yajl.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig)
|
|
|
a26d68 |
ENDIF()
|
|
|
a26d68 |
Only in lloyd-yajl-fee1ebe.new/src: CMakeLists.txt~
|