You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
1.2 KiB
22 lines
1.2 KiB
14 years ago
|
diff -rupN libinstpatch-1.0.0.old/CMakeLists.txt libinstpatch-1.0.0/CMakeLists.txt
|
||
|
--- libinstpatch-1.0.0.old/CMakeLists.txt 2010-11-08 18:12:26.000000000 -0500
|
||
|
+++ libinstpatch-1.0.0/CMakeLists.txt 2011-08-06 14:40:44.000000000 -0400
|
||
|
@@ -144,14 +144,14 @@ configure_file ( ${CMAKE_SOURCE_DIR}/lib
|
||
|
if ( UNIX OR MINGW )
|
||
|
# pkg-config support
|
||
|
set ( prefix "${CMAKE_INSTALL_PREFIX}" )
|
||
|
- set ( exec_prefix "\${prefix}" )
|
||
|
+ set ( exec_prefix "${CMAKE_INSTALL_PREFIX}" )
|
||
|
if (LIB_INSTALL_DIR STREQUAL ${CMAKE_INSTALL_PREFIX}/lib)
|
||
|
set(LIBINSTPATCH_INSTALL_DIR ${LIB_INSTALL_DIR}${LIB_SUFFIX})
|
||
|
else (LIB_INSTALL_DIR STREQUAL ${CMAKE_INSTALL_PREFIX}/lib)
|
||
|
set(LIBINSTPATCH_INSTALL_DIR ${LIB_INSTALL_DIR})
|
||
|
endif (LIB_INSTALL_DIR STREQUAL ${CMAKE_INSTALL_PREFIX}/lib)
|
||
|
- set ( libdir "\${exec_prefix}/${LIBINSTPATCH_INSTALL_DIR}" )
|
||
|
- set ( includedir "\${prefix}/${INCLUDE_INSTALL_DIR}" )
|
||
|
+ set ( libdir "${LIBINSTPATCH_INSTALL_DIR}" )
|
||
|
+ set ( includedir "${INCLUDE_INSTALL_DIR}" )
|
||
|
configure_file ( libinstpatch-1.0.pc.in
|
||
|
${CMAKE_BINARY_DIR}/libinstpatch-1.0.pc IMMEDIATE @ONLY )
|
||
|
install ( FILES ${CMAKE_BINARY_DIR}/libinstpatch-1.0.pc
|