mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:33:31 +03:00
cmake: set -d postfix for debug builds if not specified
using -DCMAKE_DEBUG_POSTFIX explicitly
fixes #2121, obsoletes #2384
This commit is contained in:
parent
d353af0014
commit
2c0225e042
5 changed files with 3 additions and 24 deletions
|
|
@ -31,12 +31,6 @@ function(SETUP_EXECUTABLE TEST_NAME) # ARGN are the files in the test
|
|||
endif()
|
||||
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()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue