Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 42bb054

Browse files
committed
add "d" to debug library on Windows
1 parent 5603166 commit 42bb054

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ endif()
3939

4040
set(BEHAVIOR_TREE_LIBRARY ${PROJECT_NAME})
4141

42+
if(MSVC)
43+
set(CMAKE_DEBUG_POSTFIX d)
44+
endif()
45+
4246
# Update the policy setting to avoid an error when loading the ament_cmake package
4347
# at the current cmake version level
4448
if(POLICY CMP0057)

0 commit comments

Comments
 (0)