git repos / PlatformFolders

commit 37c4304d

Domen Mori · 2019-12-02 21:01
37c4304d66d16988fcee91c132332de4aa254f31 patch · browse files
parent 75270a86fcc6a8cc395853de336d92b947be6411

Debug library suffix d, so we can easily install both to be used with MSVC

Changed files

M CMakeLists.txt before
diff --git a/CMakeLists.txt b/CMakeLists.txt index 61dcfed..4c67a24 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -9,6 +9,8 @@ add_library(platform_folders
sago/platform_folders.cpp
)
+set_target_properties(platform_folders PROPERTIES DEBUG_POSTFIX d)
+
# Creates an alias so that people building in-tree (instead of using find_package)...
# can still link against the same target
add_library(sago::platform_folders ALIAS platform_folders)