summaryrefslogtreecommitdiffstats
path: root/src/indmanager
diff options
context:
space:
mode:
authorRadek Novacek <rnovacek@redhat.com>2014-04-10 14:30:11 +0200
committerRadek Novacek <rnovacek@redhat.com>2014-04-10 14:31:08 +0200
commitb65667c9324eba14e3da7d4cb85711bac7afcd4d (patch)
tree501a0e5376a5e1ff85ee71079fb17e51b3d1f01c /src/indmanager
parentbbf83307946d07c7189ba7bfe90b56797c11ef39 (diff)
downloadopenlmi-providers-b65667c9324eba14e3da7d4cb85711bac7afcd4d.tar.gz
openlmi-providers-b65667c9324eba14e3da7d4cb85711bac7afcd4d.tar.xz
openlmi-providers-b65667c9324eba14e3da7d4cb85711bac7afcd4d.zip
fix for older versions of cmake
Older versions of cmake needs to have absolute path in the destination paremeter of configure_file command.
Diffstat (limited to 'src/indmanager')
-rw-r--r--src/indmanager/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indmanager/CMakeLists.txt b/src/indmanager/CMakeLists.txt
index 57f21b9..3a265c9 100644
--- a/src/indmanager/CMakeLists.txt
+++ b/src/indmanager/CMakeLists.txt
@@ -15,5 +15,5 @@ target_link_libraries(openlmiindmanager pthread)
install(TARGETS openlmiindmanager DESTINATION lib${LIB_SUFFIX})
install(FILES ind_manager.h DESTINATION include/openlmi)
-configure_file(openlmiindmanager.pc.in openlmiindmanager.pc @ONLY)
+configure_file(openlmiindmanager.pc.in ${CMAKE_CURRENT_BINARY_DIR}/openlmiindmanager.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/openlmiindmanager.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig)