diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d0e52b..917fdb6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ add_library(GPMF_PARSER_LIB ${LIB_SOURCES}) set_target_properties(GPMF_PARSER_LIB PROPERTIES OUTPUT_NAME "${PROJECT_NAME}") set(PC_LINK_FLAGS "-l${PROJECT_NAME}") -configure_file("${CMAKE_SOURCE_DIR}/${PROJECT_NAME}.pc.in" "${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc" @ONLY) +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pc.in" "${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc" @ONLY) install(TARGETS GPMF_PARSER_BIN DESTINATION "bin") install(TARGETS GPMF_PARSER_LIB DESTINATION "lib")