From b214df90867efb46c8cf45146c1bbebe110df0c0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Bruy=C3=A8re?= Date: Mon, 23 Jul 2018 12:31:24 +0200 Subject: [PATCH] CMake debug --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3