Skip to content

Commit

Permalink
Use correct build mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rainman110 committed Aug 30, 2022
1 parent bcfe997 commit daaecf4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
retention-days: 1
- name: Build conan package
run: |
conan create . -o tixi3:shared=True
conan create . -o tixi3:shared=True -s build_type=${{ matrix.config }}
build-win64:
strategy:
Expand Down
6 changes: 5 additions & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,11 @@ def _module_file_rel_path(self):

def package_info(self):
self.cpp_info.includedirs.append(os.path.join("include", "tixi3"))
self.cpp_info.libs = ['tixi3']

if self.settings.build_type != "Debug":
self.cpp_info.libs = ['tixi3']
else:
self.cpp_info.libs = ['tixi3-d']

if self.settings.os == "Windows":
self.cpp_info.system_libs = ['Shlwapi']
Expand Down

0 comments on commit daaecf4

Please sign in to comment.