From: Jean-Philippe Bruyère Date: Mon, 23 Jul 2018 10:31:24 +0000 (+0200) Subject: CMake debug X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=b214df90867efb46c8cf45146c1bbebe110df0c0;p=jp%2Fvkhelpers.git CMake debug --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 4e26493..7a67542 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,7 @@ INCLUDE(GNUInstallDirs) FILE(GLOB sources src/*.c*) CONFIGURE_FILE(vkh.pc.in vkh.pc @ONLY) -INSTALL(FILES ${CMAKE_BINARY_DIR}/vkh.pc DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/pkgconfig) +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/vkh.pc DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/pkgconfig) FUNCTION (setup_lib LibName) SET_TARGET_PROPERTIES(${LibName} PROPERTIES