Skip to content

Commit

Permalink
Escape quote chars for passing into configure .cmake scripts. Hopeful…
Browse files Browse the repository at this point in the history
…ly will clear the "Argument not separated from previous token by whitespace" errors from PNG_BLD-configure-.cmake and OPENCV_BLD-configure-.cmake
  • Loading branch information
starseeker committed Jan 23, 2024
1 parent 7e03f93 commit 5c654c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion opencv/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if (ENABLE_OPENCV)
-DBIN_DIR=${BIN_DIR}
-DLIB_DIR=${LIB_DIR}
-DCMAKE_INSTALL_LIBDIR:PATH=${LIB_DIR}
-DOPENCV_INSTALL_BINARIES_PREFIX=""
-DOPENCV_INSTALL_BINARIES_PREFIX=\\\"\\\"
-DOPENCV_CONFIG_INSTALL_PATH=${LIB_DIR}/cmake/opencv4
-DOPENCV_SETUPVARS_INSTALL_PATH=${BIN_DIR}
-DOPENCV_SKIP_CMAKE_ROOT_CONFIG=ON
Expand Down
2 changes: 1 addition & 1 deletion png/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if (ENABLE_PNG)
-DZLIB_ROOT=$<$<BOOL:${ZLIB_TARGET}>:${CMAKE_BUNDLE_INSTALL_PREFIX}>
-DPNG_LIB_NAME=${PNG_LIB_NAME}
-DPNG_NO_DEBUG_POSTFIX=ON
-DPNG_DEBUG_POSTFIX=\"\"
-DPNG_DEBUG_POSTFIX=\\\"\\\"
-DPNG_PREFIX=brl_
-DPNG_STATIC=${BUILD_STATIC_LIBS}
-DPNG_TESTS=OFF
Expand Down

0 comments on commit 5c654c6

Please sign in to comment.