diff --git a/conanfile.py b/conanfile.py index be788c80..4a6ffddf 100644 --- a/conanfile.py +++ b/conanfile.py @@ -2,7 +2,7 @@ from conan.tools.system.package_manager import Apt from conan.errors import ConanInvalidConfiguration from conan.tools.cmake import CMakeToolchain, CMake, cmake_layout -from conan.tools.files import load, update_conandata +from conan.tools.files import load from conan.tools.scm import Git import os, re @@ -64,9 +64,6 @@ def requirements(self): if self.options.UseNLopt: self.requires("nlopt/2.7.1", transitive_headers=True, transitive_libs=True) - #if self.options.UseLibCMAES and self.settings.os != "Windows": - # self.requires("llvm-openmp/17.0.6", transitive_headers=True) - if self.options.UseLibCMAES: self.requires("cmaes/0.10.0", transitive_headers=True, transitive_libs=True) diff --git a/test_package/CMakeLists.txt b/test_package/CMakeLists.txt index 932ef4e0..309aeea4 100644 --- a/test_package/CMakeLists.txt +++ b/test_package/CMakeLists.txt @@ -3,6 +3,13 @@ project(PackageTest CXX) find_package(BSMPT CONFIG REQUIRED) +add_compile_options( + $<$:/permissive-> + $<$,$>:/bigobj> + $<$:/w44101> + $<$,$>:/Ox>) + add_executable(example src/example.cpp) target_link_libraries(example BSMPT::Utility BSMPT::BounceSolution BSMPT::Models BSMPT::Minimizer) +