diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2023-06-07 16:54:22 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2023-06-07 16:54:22 +0200 |
| commit | fc033418a95d0eae238a4e2718b6429cdc160d0d (patch) | |
| tree | af7aa5f27a9135e069d259932e386e10a1bbf74b /conanfile.py | |
| parent | a984ee355ea8bcdeeb6f5ff2dc1e17c566044223 (diff) | |
| download | newtype-fc033418a95d0eae238a4e2718b6429cdc160d0d.tar.xz newtype-fc033418a95d0eae238a4e2718b6429cdc160d0d.zip | |
conan: fix CMake generator selection
Diffstat (limited to 'conanfile.py')
| -rw-r--r-- | conanfile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conanfile.py b/conanfile.py index 990b8ac..618073b 100644 --- a/conanfile.py +++ b/conanfile.py @@ -48,14 +48,14 @@ class NewtypeConan(ConanFile): self.test_requires("catch2/[~3.3]") def generate(self): - toolchain = CMakeToolchain(self) + toolchain = CMakeToolchain(self, generator="Ninja Multi-Config") toolchain.variables["CMAKE_EXPORT_COMPILE_COMMANDS"] = True toolchain.variables["PROJECT_VERSION"] = self.version toolchain.variables["PROJECT_DESCRIPTION"] = self.description toolchain.generate() def layout(self): - cmake_layout(self, generator="Ninja Multi-Config", src_folder="source") + cmake_layout(self, src_folder="source") def package(self): cmake = CMake(self) |
