From: ibs Date: Wed, 27 Feb 2013 07:40:19 +0000 (+0400) Subject: 0023801: cmake configuration process should search 3rdparty libraries with release... X-Git-Tag: V6_7_1~63 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=8dcfc4818d3ed45e8309d0341f144e7404f8f46c;p=occt-wok.git 0023801: cmake configuration process should search 3rdparty libraries with release name in any case build type (debug or release) --- diff --git a/src/WOKTclLib/templates/template.cmake b/src/WOKTclLib/templates/template.cmake index e3d2316..9a614ea 100644 --- a/src/WOKTclLib/templates/template.cmake +++ b/src/WOKTclLib/templates/template.cmake @@ -110,7 +110,7 @@ install(FILES "__CASROOT_DIR__/src/UnitsAPI/Units.dat" DESTINATION "${INSTA IF("${BUILD_TYPE}" STREQUAL "Release") SET(BUILD_SUFFIX "") ELSE() - SET(BUILD_SUFFIX "d") + SET(BUILD_SUFFIX "") # debug == release ENDIF() FUNCTION(SUBDIRECTORY_NAMES MAIN_DIRECTORY RESULT) @@ -329,7 +329,7 @@ IF (3RDPARTY_USE_TBB) SET(TBB_DEBUG_POSTFIX "") if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") - SET(TBB_DEBUG_POSTFIX "_debug") + SET(TBB_DEBUG_POSTFIX "") # _debug postfix removed ENDIF() IF("${3RDPARTY_TBB_LIBRARY}" STREQUAL "" OR CHANGES_ARE_NEEDED)