Skip to content

Commit 01a12f8

Browse files
committed
Merge pull request #360 from larshg/master
Add postfix to have both debug and release libraries.
2 parents f62332f + d0c3d73 commit 01a12f8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

examples/protonect/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.12)
22

3+
if(WIN32 AND NOT MINGW)
4+
if(NOT DEFINED CMAKE_DEBUG_POSTFIX)
5+
set(CMAKE_DEBUG_POSTFIX "d")
6+
endif()
7+
endif()
8+
39
PROJECT(libfreenect2)
410
SET(CMAKE_BUILD_TYPE RelWithDebInfo)
511

0 commit comments

Comments
 (0)