diff options
| author | Kai Pastor <dg0yt@darc.de> | 2021-12-19 11:07:12 +0100 |
|---|---|---|
| committer | Kai Pastor <dg0yt@darc.de> | 2022-02-05 18:06:45 +0100 |
| commit | 845d679d9801f5dd177b20630fbf8ec581600e52 (patch) | |
| tree | 2f95936f0d2917c338d3f42e2603465ec7483d49 /CMakeLists.txt | |
| parent | 0139d8c59f7ed135b03855f549d44a3801c42aa1 (diff) | |
| download | PROJ-845d679d9801f5dd177b20630fbf8ec581600e52.tar.gz PROJ-845d679d9801f5dd177b20630fbf8ec581600e52.zip | |
Revise pc file construction
Use sqlite3, libtiff-4 and libcurl modules instead of plain libs
Allow opt out by setting 'USE_PKGCONFIG_MODULES' off.
Link native system libs on Windows, and implicit C++ libraries on
other systems (e.g. libstc++/libc++).
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8ac6d0cc..6bdc7cab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -338,13 +338,11 @@ install(FILES ${docfiles} ################################################################################ # pkg-config support ################################################################################ -if(UNIX OR MINGW) - configure_proj_pc() +configure_proj_pc() - install(FILES - ${CMAKE_CURRENT_BINARY_DIR}/proj.pc - DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) -endif() +install(FILES + ${CMAKE_CURRENT_BINARY_DIR}/proj.pc + DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) ################################################################################ # "make dist" workalike |
