Skip to content

Commit

Permalink
try conan provider file for gflags on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Basler committed Jun 1, 2024
1 parent 4140bce commit 485e0a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/windows_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: SimenB/github-actions-cpu-cores@v1
id: cpu-cores
- name: cmake
run: cmake -S . -B build -DLIBCMAES_BUILD_PYTHON=On -DLIBCMAES_BUILD_TESTS=On -DLIBCMAES_USE_OPENMP=On -DCMAKE_BUILD_TYPE=Release
run: cmake -S . -B build -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=cmake/conan_provider.cmake -DLIBCMAES_BUILD_PYTHON=On -DLIBCMAES_BUILD_TESTS=On -DLIBCMAES_USE_OPENMP=On -DCMAKE_BUILD_TYPE=Release
- name: compile
run: cd build && cmake --build . -j${{ steps.cpu-cores.outputs.count }} --config Release
- name: Run ctest
Expand Down
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class CmaesConan(ConanFile):
)

def build_requirements(self):
pass
self.test_requires("gflags/2.2.2")

def requirements(self):
self.requires("eigen/3.4.0", transitive_headers=True)
Expand Down

0 comments on commit 485e0a5

Please sign in to comment.