aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorSergei Nikulov <sergey.nikulov@gmail.com>2018-05-24 00:37:53 +0300
committerSergei Nikulov <snikulov@users.noreply.github.com>2018-05-24 17:25:41 +0300
commit2c0225e0423eea2c76e68f50c766b112d1303d92 (patch)
tree71ccd5f3256ef054efece25da0ba6e6b48991dda /tests/libtest
parentd353af001420574210605ba132dfd31a0e3876a5 (diff)
cmake: set -d postfix for debug builds if not specified
using -DCMAKE_DEBUG_POSTFIX explicitly fixes #2121, obsoletes #2384
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/CMakeLists.txt6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/libtest/CMakeLists.txt b/tests/libtest/CMakeLists.txt
index 4d42aa513..6211aaae4 100644
--- a/tests/libtest/CMakeLists.txt
+++ b/tests/libtest/CMakeLists.txt
@@ -20,12 +20,6 @@ function(SETUP_TEST TEST_NAME) # ARGN are the files in the test
PROPERTIES COMPILE_DEFINITIONS ${UPPER_TEST_NAME})
set_target_properties(${TEST_NAME}
PROPERTIES PROJECT_LABEL "${TARGET_LABEL_PREFIX}${TEST_NAME}")
-
- # Add the postfix to the executable since it is
- # not added automatically as for modules and shared libraries
- set_target_properties(${TEST_NAME}
- PROPERTIES DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}")
-
endfunction()