Skip to content
This repository has been archived by the owner on Sep 5, 2022. It is now read-only.

CMAKE_BUILD_TYPE=Release missing in build description #138

Closed
wohltat opened this issue May 13, 2022 · 0 comments · Fixed by Ultimaker/Cura#12708
Closed

CMAKE_BUILD_TYPE=Release missing in build description #138

wohltat opened this issue May 13, 2022 · 0 comments · Fixed by Ultimaker/Cura#12708

Comments

@wohltat
Copy link

wohltat commented May 13, 2022

The build description does not work as is.


mkdir build && cd build
cmake -DCMAKE_PREFIX_PATH=<install_path> -DCMAKE_INSTALL_PREFIX=<install_path> ..
cmake --build .

gives error:

...
-- Conan: Version found Conan version 1.48.0
-- Conan: Automatic detection of conan settings from cmake
CMake Error at build/conan.cmake:73 (message):
  Please specify in command line CMAKE_BUILD_TYPE
  (-DCMAKE_BUILD_TYPE=Release)
Call Stack (most recent call first):
  build/conan.cmake:252 (_conan_detect_build_type)
  build/conan.cmake:881 (conan_cmake_settings)
  cmake/conan.cmake:15 (conan_cmake_run)
  CMakeLists.txt:17 (include)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant