janbar / openssl-cmake

Build OpenSSL with CMake on MacOS, Win32, Win64 and cross compile for Android, IOS
Other
267 stars 138 forks source link

CMake fails with "configure_file attempted to configure a file" #30

Open Stokestack opened 1 year ago

Stokestack commented 1 year ago

I cloned the repo on a Raspberry Pi running Bullseye 64-bit. Running CMake in the root directory results in:

CMake Error at /usr/share/cmake-3.18/Modules/CheckIncludeFile.cmake:55 (configure_file):
  configure_file attempted to configure a file:
  /home/pi/dev/openssl-cmake/CMakeFiles/CMakeTmp/CheckIncludeFile.c into a
  source directory.
Call Stack (most recent call first):
  /usr/share/cmake-3.18/Modules/CheckTypeSize.cmake:230 (check_include_file)
  CMakeLists.txt:144 (check_type_size)

Anybody have an idea?