Skip to content

Commit

Permalink
games101-cgl: add debug suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims committed Jul 12, 2024
1 parent 6cd9084 commit ca4bf42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes/games101-cgl/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ def package(self):
rm(self, "*.pdb", os.path.join(self.package_folder, "bin"))

def package_info(self):
self.cpp_info.libs = ["CGL"]
suffix = "d" if self.settings.build_type == "Debug" else ""
self.cpp_info.libs = ["CGL" + suffix]

self.cpp_info.set_property("cmake_file_name", "games101-cgl")
self.cpp_info.set_property("cmake_target_name", "games101-cgl::games101-cgl")
Expand Down

0 comments on commit ca4bf42

Please sign in to comment.