curlcpp: Release:1.2 Cmake fails.

Following instructions: made a “build” directory. Cd into it. cmake .., and get greeted by this:

-- IPO / LTO supported, will enable for targets in release build type
You have called ADD_LIBRARY for library curlcpp without any source files. This typically indicates a problem with your CMakeLists.txt file
CMake Error: Could not open file for write in copy operation /curlcppConfig.cmake.tmp
CMake Error: : System Error: Permission denied
CMake Error at CMakeLists.txt:37 (configure_file):
  configure_file Problem configuring file


-- Configuring incomplete, errors occurred!

Running on Linux Mint 19 | Cmake: 3.10.2

Testing release 1.1: and cmake runs fine.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Okay; no idea what it’s potentially done in the backend, but I modified the last command in CmakeLists.txt to this:

configure_file(CMake/curlcppConfig.cmake.in
  ${CMAKE_CURRENT_BINARY_DIR}/curlcppConfig.cmake @ONLY)

and it works~

We invoke the Jedi Master of CMake @Xeverous

@LCWilliams can you please try now? I have updated the minimum required version from 3.10 to 3.11

One moment! 😛 just crawled out of bed!