Skip to content

Conversation

torbjoernk
Copy link

This config file gets installed together with cppnetlib enabling other CMake-based projects to easily include and link against cppnetlib.

See commit message for further details.

This will enabled other CMake-based projects to find an installed version
of cpp-netlib via

   find_package(cppnetlib [[VERSION] 0.10.1] [REQUIRED])

To link to the installed cppnetlib version projects want to use

   include_directories(${CPPNETLIB_INCLUDE_DIRS})
   target_link_library(myTarget ${CPPNETLIB_LIBRARIES})
@deanberris
Copy link
Member

LGTM -- nothing really obviously borked here in my opinion, so I'll merge it. Hopefully this doesn't break anything on any of the platforms. 😀

deanberris added a commit that referenced this pull request Sep 20, 2013
provide cppnetlibConfig.cmake file
@deanberris deanberris merged commit f8346ae into cpp-netlib:0.10-devel Sep 20, 2013
@torbjoernk torbjoernk deleted the add-cmake-config branch September 20, 2013 06:30
leecoder pushed a commit to leecoder/cpp-netlib that referenced this pull request Apr 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants