Skip to content

Update CMake code for installing target #132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 12, 2021

Conversation

prateek9623
Copy link
Contributor

The old "install" target was working poorly in windows.
Now able to include curlcpp using find_package or FetchContent

@JosephP91
Copy link
Owner

Hi @prateek9623 I just tried your changes, and they breaks the build on linux:

CMake Error: File /home/giuseppe/Desktop/curlcpp/cmake/curlcppConfig.cmake.in does not exist.
CMake Error at /usr/share/cmake-3.16/Modules/CMakePackageConfigHelpers.cmake:330 (configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  CMakeLists.txt:48 (configure_package_config_file)

@prateek9623
Copy link
Contributor Author

I tried building in a docker container and it is building successfully, but still, I looked in my changes and found a typo. Maybe that was the issue can you retry building it.

@JosephP91
Copy link
Owner

Confirmed! Great!

@JosephP91 JosephP91 merged commit 749c17f into JosephP91:master Jan 12, 2021
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