From: Leszek Swirski Date: Thu, 24 Oct 2013 12:58:21 +0000 (+0100) Subject: Replace $(Configuration) with $ X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~3709^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e4fb8f275c3cae20d1c77282aa61e492a4b4c19;p=platform%2Fupstream%2Fopencv.git Replace $(Configuration) with $ --- diff --git a/modules/matlab/CMakeLists.txt b/modules/matlab/CMakeLists.txt index c628a56..dd5439d 100644 --- a/modules/matlab/CMakeLists.txt +++ b/modules/matlab/CMakeLists.txt @@ -104,7 +104,7 @@ set(RST_PARSER_PATH ${CMAKE_SOURCE_DIR}/modules/java/generator) # set mex compiler options prepend("-I" MEX_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/include) -prepend("-L" MEX_LIB_DIR ${LIBRARY_OUTPUT_PATH}/$(Configuration)) +prepend("-L" MEX_LIB_DIR ${LIBRARY_OUTPUT_PATH}/$) set(MEX_OPTS "-largeArrayDims") if (BUILD_TESTS) @@ -229,7 +229,7 @@ add_custom_command( --opencv_version ${OPENCV_VERSION} --commit ${GIT_COMMIT} --modules ${opencv_modules} - --configuration "$(Configuration)" ${CMAKE_BUILD_TYPE} + --configuration $ --outdir ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/generator/cvmex.py @@ -257,7 +257,7 @@ add_custom_command( -DMEX_CXXFLAGS=${MEX_CXX_FLAGS} -DMEX_INCLUDE_DIRS="${MEX_INCLUDE_DIRS}" -DMEX_LIB_DIR=${MEX_LIB_DIR} - -DCONFIGURATION="$(Configuration)" + -DCONFIGURATION="$" -DMEX_LIBS="${MEX_LIBS}" -DMEX_DEBUG_LIBS="${MEX_DEBUG_LIBS}" -P ${CMAKE_CURRENT_SOURCE_DIR}/compile.cmake