diff --git a/README.md b/README.md index 7b32c83..f882f2c 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ CMake and Conan 2 are required to build Mikage. * `mkdir build` * `cd build` * `conan install .. -of . --build=missing` (add `-s build_type=Debug` for Debug builds) -* ``cmake -DCMAKE_BUILD_TYPE=Release .. -G Ninja -DCMAKE_PREFIX_PATH=`realpath .` `` +* `cmake .. -G Ninja --toolchain conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release` * `ninja && sudo ninja install` Some dependencies may be provided by system packages instead of building them diff --git a/conanfile.py b/conanfile.py index 925c08a..7a62883 100644 --- a/conanfile.py +++ b/conanfile.py @@ -3,7 +3,7 @@ from conan import ConanFile class MikageConan(ConanFile): name = "mikage" settings = "os", "compiler", "build_type", "arch" - generators = "CMakeDeps" + generators = ["CMakeDeps", "CMakeToolchain"] requires = [ #"boost/1.79.0",