Skip to content

Commit 27678f6

Browse files
authored
Merge pull request #387 from sbriseid/debug_suffix
Adding d suffix for debug versions of built libraries.
2 parents 091792f + c7fe0d1 commit 27678f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ SET(GoTools_VERSION_PATCH 0)
1010
SET(GoTools_VERSION "${GoTools_VERSION_MAJOR}.${GoTools_VERSION_MINOR}.${GoTools_VERSION_PATCH}")
1111
SET(GoTools_ABI_VERSION "${GoTools_VERSION_MAJOR}.${GoTools_VERSION_MINOR}" CACHE INTERNAL "GoTools ABI version")
1212

13+
set(CMAKE_DEBUG_POSTFIX "d")
14+
1315
option(BUILD_AS_SHARED_LIBRARY "Build the project as shared libraries?" OFF)
1416
#message("gotools: BUILD_AS_SHARED_LIBRARY: " ${BUILD_AS_SHARED_LIBRARY})
1517

0 commit comments

Comments
 (0)