]> O.S.I.I.S - jp/vkhelpers.git/commitdiff
CMake debug
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Mon, 23 Jul 2018 10:31:24 +0000 (12:31 +0200)
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Mon, 23 Jul 2018 10:31:24 +0000 (12:31 +0200)
CMakeLists.txt

index 4e264937d3de782b6abf59aeb4658635a52e37f9..7a6754261bdb77760c73bef1541bba971402e9b4 100644 (file)
@@ -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