Commit ba6ef4d8 authored by saubatn's avatar saubatn

FIXED : remove '-debug' postfix for application not built with MSVC compiler.

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@732 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 3facb9ff
......@@ -1077,10 +1077,16 @@ macro(application_extension)
camitk_sub_project_add(APPLICATION ${APPLICATION_TARGET_NAME} DEPENDENCIES ${COMPONENT_EXTENSION_LIBRARIES} ${CAMITK_CORE_LIB} ${CEP_LIBRARIES})
# target properties
set_target_properties(${APPLICATION_TARGET_NAME}
PROPERTIES OUTPUT_NAME camitk-${APPLICATION_NAME}
DEBUG_POSTFIX "-debug"
)
if (MSVC)
set_target_properties(${APPLICATION_TARGET_NAME}
PROPERTIES OUTPUT_NAME camitk-${APPLICATION_NAME}
DEBUG_POSTFIX "-debug"
)
else(MSVC)
set_target_properties(${APPLICATION_TARGET_NAME}
PROPERTIES OUTPUT_NAME camitk-${APPLICATION_NAME}
)
endif(MSVC)
# CEP library dependencies
if(${APPLICATION_TARGET_NAME}_NEEDS_CEP_LIBRARIES)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment