From 7214a222c746f6d2389e9320660b05cb405b9232 Mon Sep 17 00:00:00 2001 From: Joakim Soderberg Date: Wed, 6 Mar 2013 13:13:51 +0100 Subject: [PATCH] Skip using a debug postfix with visual studio. The output dir is different anyway, and this just makes it more complicated to build projects that link to this, because they need different link rules based on the build type. --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e9a3bd8..02073be 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -209,10 +209,6 @@ elseif (HAVE__SNPRINTF) set (JSON_SNPRINTF _snprintf) endif () -if (MSVC) - set (CMAKE_DEBUG_POSTFIX "_d") -endif (MSVC) - # configure the public config file configure_file (${CMAKE_CURRENT_SOURCE_DIR}/src/jansson_config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/include/jansson_config.h)