Skip to content
Snippets Groups Projects
Commit 0f826802 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

SuperBuild: apply patch for setmode on for unix

parent 88d65228
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,6 @@ else()
-DWITH_SIMD=FALSE
-DWITH_TURBOJPEG=FALSE
CMAKE_COMMAND ${SB_CMAKE_COMMAND} -DCMAKE_INSTALL_PREFIX=${SB_INSTALL_PREFIX}
PATCH_COMMAND ${CMAKE_COMMAND} -P ${CMAKE_SOURCE_DIR}/patches/${proj}/patch.cmake
)
if(MSVC)
......@@ -41,6 +40,11 @@ else()
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/patches/${proj}/jconfigint.h.in ${JPEG_SB_SRC}/win/
DEPENDERS configure)
endif()
if(UNIX)
ExternalProject_Add_Step(${proj} patch_setmode
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_SOURCE_DIR}/patches/${proj}/patch.cmake
DEPENDERS configure)
endif()
set(_SB_${proj}_INCLUDE_DIR ${SB_INSTALL_PREFIX}/include)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment