aboutsummaryrefslogtreecommitdiff
path: root/cmake/project-config.cmake.in
AgeCommit message (Collapse)Author
2020-02-13Don't print version when using PROJ4 from cmakeCalum Robinson
This will declutter cmake output for PROJ4 users
2020-02-04Make PROJ the CMake project nameCharles Karney
Allow both find_package(PROJ) and find_package(PROJ4). More details are in cmake/CMakeLists.txt.
2020-01-25Remove legacy CMake target name "proj" addressing #802Charles Karney
2019-02-13Address issue #801: set CMake ${PROJ4_LIBRARIES} to PROJ4::projCharles Karney
2018-02-10Re-do pull request #451 export CMake targets with PROJ4:: namespaceCharles Karney
This version takes to add the include path to the target definition for cmake 2.8.11 and later. Also the documentation sticks to the existing convention of using cmake variables ${PROJ4_LIBRARIES} and ${PROJ4_INCLUDE_DIRS}. However, the namespace variables are still being included. Here's the roll-out plan (0) Version 4.9.x: The target is proj and PROJ4_LIBRARIES is set to this. (1) Version 5.0.x: Two targets, proj and PROJ4::proj, are defined; PROJ4_LIBRARIES = proj. (2) In a year or two: Two targets, proj and PROJ4::proj, are defined; PROJ4_LIBRARIES = PROJ4::proj. (3) With a change in the library which breaks backwards compatibility: The target is PROJ4::proj and PROJ4_LIBRARIES = PROJ4::proj.
2015-03-03Switch cmake name from PROJ to PROJ4Charles Karney
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2644 4e78687f-474d-0410-85f9-8d5e500ac6b2
2015-02-22More CMake churn #264Howard Butler
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2632 4e78687f-474d-0410-85f9-8d5e500ac6b2