Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

Permalink
fix cflags and ldflags in generated pkgconfig file
Browse files Browse the repository at this point in the history
  • Loading branch information
hedgepigdaniel committed Mar 15, 2021
1 parent 3533871 commit 6c4a34a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if(MSVC)
endif()


add_project_dependency(Eigen3 REQUIRED)
add_project_dependency(Eigen3 REQUIRED PKG_CONFIG_REQUIRES eigen3)
add_project_dependency(Boost REQUIRED)
add_subdirectory(src)

Expand Down
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ else()
target_link_libraries(gram_savitzky_golay PUBLIC ${BOOST_LIBRARIES})
endif()

pkg_config_append_libs(gram_savitzky_golay)

set_target_properties(gram_savitzky_golay PROPERTIES SOVERSION ${PROJECT_VERSION})

install(TARGETS gram_savitzky_golay
Expand Down

0 comments on commit 6c4a34a

Please sign in to comment.