diff options
author | Radek Novacek <rnovacek@redhat.com> | 2014-04-10 14:30:11 +0200 |
---|---|---|
committer | Radek Novacek <rnovacek@redhat.com> | 2014-04-10 14:31:08 +0200 |
commit | b65667c9324eba14e3da7d4cb85711bac7afcd4d (patch) | |
tree | 501a0e5376a5e1ff85ee71079fb17e51b3d1f01c /src/indmanager | |
parent | bbf83307946d07c7189ba7bfe90b56797c11ef39 (diff) | |
download | openlmi-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.txt | 2 |
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) |