Fetching libjpeg-turbo using ExternalProject
This commit is contained in:
9
3rdParty/CMakeLists.txt
vendored
9
3rdParty/CMakeLists.txt
vendored
@@ -1,3 +1,5 @@
|
||||
include(ExternalProject)
|
||||
|
||||
add_subdirectory(glm)
|
||||
if (NOT ANDROID AND NOT IOS)
|
||||
add_subdirectory(glfw)
|
||||
@@ -17,6 +19,13 @@ add_subdirectory(tracy)
|
||||
add_subdirectory(libstud-uuid)
|
||||
add_subdirectory(rapidyaml)
|
||||
|
||||
ExternalProject_Add(libjpeg-turbo
|
||||
GIT_REPOSITORY https://github.com/libjpeg-turbo/libjpeg-turbo.git
|
||||
GIT_TAG 2.0.x
|
||||
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}
|
||||
INSTALL_DIR ${CMAKE_BINARY_DIR}
|
||||
)
|
||||
|
||||
if (NOT LINUX)
|
||||
file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/deps)
|
||||
execute_process(
|
||||
|
||||
Reference in New Issue
Block a user