Skip to content

Commit

Permalink
Merge pull request flintlib#1822 from orlitzky/pkgconfig-install
Browse files Browse the repository at this point in the history
CMakeLists.txt: install the pkg-config file to the configured libdir
  • Loading branch information
albinahlback authored Mar 11, 2024
2 parents 38550e2 + f4e0dfd commit e84002f
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 @@ -537,7 +537,7 @@ set(PACKAGE_NAME ${PROJECT_NAME})
set(PACKAGE_VERSION ${PROJECT_VERSION})
configure_file(flint.pc.in flint.pc @ONLY)

install(FILES ${CMAKE_CURRENT_BINARY_DIR}/flint.pc DESTINATION lib/pkgconfig)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/flint.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)

if(BUILD_TESTING)
set(FLINT_SRC ${CMAKE_CURRENT_SOURCE_DIR}/src) # To get src/test/main
Expand Down

0 comments on commit e84002f

Please sign in to comment.