WIP: Build on CentOS 6
This commit is contained in:
parent
22aa17128a
commit
e7838abddc
14
deps/deps-linux.cmake
vendored
14
deps/deps-linux.cmake
vendored
@ -88,19 +88,17 @@ ExternalProject_Add(dep_libcurl
|
|||||||
)
|
)
|
||||||
|
|
||||||
if (DEP_WX_STABLE)
|
if (DEP_WX_STABLE)
|
||||||
set(DEP_WX_URL "https://github.com/wxWidgets/wxWidgets/releases/download/v3.0.4/wxWidgets-3.0.4.tar.bz2")
|
set(DEP_WX_TAG "v3.0.4")
|
||||||
set(DEP_WX_HASH "SHA256=96157f988d261b7368e5340afa1a0cad943768f35929c22841f62c25b17bf7f0")
|
|
||||||
else ()
|
else ()
|
||||||
set(DEP_WX_URL "https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.1/wxWidgets-3.1.1.tar.bz2")
|
set(DEP_WX_TAG "v3.1.1-patched")
|
||||||
set(DEP_WX_HASH "SHA256=c925dfe17e8f8b09eb7ea9bfdcfcc13696a3e14e92750effd839f5e10726159e")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
ExternalProject_Add(dep_wxwidgets
|
ExternalProject_Add(dep_wxwidgets
|
||||||
EXCLUDE_FROM_ALL 1
|
EXCLUDE_FROM_ALL 1
|
||||||
URL "${DEP_WX_URL}"
|
GIT_REPOSITORY "https://github.com/prusa3d/wxWidgets"
|
||||||
URL_HASH "${DEP_WX_HASH}"
|
GIT_TAG "${DEP_WX_TAG}"
|
||||||
BUILD_IN_SOURCE 1
|
BUILD_IN_SOURCE 1
|
||||||
PATCH_COMMAND "${CMAKE_COMMAND}" -E copy "${CMAKE_CURRENT_SOURCE_DIR}/wxwidgets-pngprefix.h" src/png/pngprefix.h
|
# PATCH_COMMAND "${CMAKE_COMMAND}" -E copy "${CMAKE_CURRENT_SOURCE_DIR}/wxwidgets-pngprefix.h" src/png/pngprefix.h
|
||||||
CONFIGURE_COMMAND ./configure
|
CONFIGURE_COMMAND ./configure
|
||||||
"--prefix=${DESTDIR}/usr/local"
|
"--prefix=${DESTDIR}/usr/local"
|
||||||
--disable-shared
|
--disable-shared
|
||||||
@ -124,4 +122,4 @@ ExternalProject_Add(dep_wxwidgets
|
|||||||
INSTALL_COMMAND make install
|
INSTALL_COMMAND make install
|
||||||
)
|
)
|
||||||
|
|
||||||
add_dependencies(dep_openvdb dep_boost)
|
add_dependencies(dep_openvdb dep_boost)
|
||||||
|
3
deps/deps-unix-common.cmake
vendored
3
deps/deps-unix-common.cmake
vendored
@ -115,6 +115,7 @@ ExternalProject_Add(dep_openvdb
|
|||||||
-DOPENVDB_CORE_STATIC=ON
|
-DOPENVDB_CORE_STATIC=ON
|
||||||
-DTBB_STATIC=ON
|
-DTBB_STATIC=ON
|
||||||
-DOPENVDB_BUILD_VDB_PRINT=ON
|
-DOPENVDB_BUILD_VDB_PRINT=ON
|
||||||
|
-DDISABLE_DEPENDENCY_VERSION_CHECKS=ON
|
||||||
PATCH_COMMAND PATCH_COMMAND ${GIT_EXECUTABLE} checkout -f -- . && git clean -df &&
|
PATCH_COMMAND PATCH_COMMAND ${GIT_EXECUTABLE} checkout -f -- . && git clean -df &&
|
||||||
${GIT_EXECUTABLE} apply --whitespace=fix ${CMAKE_CURRENT_SOURCE_DIR}/openvdb-mods.patch
|
${GIT_EXECUTABLE} apply --whitespace=fix ${CMAKE_CURRENT_SOURCE_DIR}/openvdb-mods.patch
|
||||||
)
|
)
|
||||||
|
2
deps/deps-windows.cmake
vendored
2
deps/deps-windows.cmake
vendored
@ -353,4 +353,4 @@ if (${DEP_DEBUG})
|
|||||||
COMMAND msbuild /m /P:Configuration=Debug INSTALL.vcxproj
|
COMMAND msbuild /m /P:Configuration=Debug INSTALL.vcxproj
|
||||||
WORKING_DIRECTORY "${BINARY_DIR}"
|
WORKING_DIRECTORY "${BINARY_DIR}"
|
||||||
)
|
)
|
||||||
endif ()
|
endif ()
|
||||||
|
Loading…
Reference in New Issue
Block a user