|
|
0904a0 |
diff -rup yajl-2.1.0.orig/src/CMakeLists.txt yajl-2.1.0.new/src/CMakeLists.txt
|
|
|
0904a0 |
--- yajl-2.1.0.orig/src/CMakeLists.txt 2014-03-19 04:58:29.000000000 +0000
|
|
|
0904a0 |
+++ yajl-2.1.0.new/src/CMakeLists.txt 2014-04-28 11:19:28.431492533 +0100
|
|
|
0904a0 |
@@ -30,7 +30,7 @@ ADD_DEFINITIONS(-DYAJL_BUILD)
|
|
|
0904a0 |
# set up some paths
|
|
|
0904a0 |
SET (libDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/lib)
|
|
|
0904a0 |
SET (incDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/include/yajl)
|
|
|
0904a0 |
-SET (shareDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/share/pkgconfig)
|
|
|
0904a0 |
+SET (pkgconfigDir ${CMAKE_CURRENT_BINARY_DIR}/../${YAJL_DIST_NAME}/lib/pkgconfig)
|
|
|
0904a0 |
|
|
|
0904a0 |
# set the output path for libraries
|
|
|
0904a0 |
SET(LIBRARY_OUTPUT_PATH ${libDir})
|
|
|
0904a0 |
@@ -61,7 +61,7 @@ FILE(MAKE_DIRECTORY ${incDir})
|
|
|
0904a0 |
# generate build-time source
|
|
|
0904a0 |
SET(dollar $)
|
|
|
0904a0 |
CONFIGURE_FILE(api/yajl_version.h.cmake ${incDir}/yajl_version.h)
|
|
|
0904a0 |
-CONFIGURE_FILE(yajl.pc.cmake ${shareDir}/yajl.pc)
|
|
|
0904a0 |
+CONFIGURE_FILE(yajl.pc.cmake ${pkgconfigDir}/yajl.pc)
|
|
|
0904a0 |
|
|
|
0904a0 |
# copy public headers to output directory
|
|
|
0904a0 |
FOREACH (header ${PUB_HDRS})
|
|
|
0904a0 |
@@ -84,4 +84,4 @@ INSTALL(TARGETS yajl
|
|
|
0904a0 |
INSTALL(TARGETS yajl_s ARCHIVE DESTINATION lib${LIB_SUFFIX})
|
|
|
0904a0 |
INSTALL(FILES ${PUB_HDRS} DESTINATION include/yajl)
|
|
|
0904a0 |
INSTALL(FILES ${incDir}/yajl_version.h DESTINATION include/yajl)
|
|
|
0904a0 |
-INSTALL(FILES ${shareDir}/yajl.pc DESTINATION share/pkgconfig)
|
|
|
0904a0 |
+INSTALL(FILES ${pkgconfigDir}/yajl.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig)
|