Ultimaker / cura-build-environment

CMake project to build dependencies for Cura
GNU Affero General Public License v3.0
24 stars 55 forks source link

CMAKE_BUILD_TYPE=Release missing in build description #138

Closed wohltat closed 2 years ago

wohltat commented 2 years ago

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)