Skip to content

Commit

Permalink
Merge pull request #113 from osievert-gpfw/otto/cmake-changes-for-bet…
Browse files Browse the repository at this point in the history
…ter-interoperability

reference the pkgconfig file differently in cmake
  • Loading branch information
dnewman-gpsw authored Oct 14, 2020
2 parents 066527c + ca91728 commit 6005cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 6005cc4

Please sign in to comment.