mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-31 10:00:46 +03:00
23 lines
504 B
CMake
23 lines
504 B
CMake
|
set(WINDOWS_FLAGS "")
|
||
|
|
||
|
if(MSVC)
|
||
|
set(WINDOWS_FLAGS "-DCMAKE_GENERATOR_PLATFORM=x64")
|
||
|
endif()
|
||
|
|
||
|
ExternalProject_Add(
|
||
|
Tweeny
|
||
|
|
||
|
GIT_REPOSITORY ${TWEENY_URL}
|
||
|
GIT_TAG ${TWEENY_TAG}
|
||
|
|
||
|
BUILD_IN_SOURCE 1
|
||
|
SOURCE_DIR ${DEPS_BUILD_DIR}/tweeny
|
||
|
CONFIGURE_COMMAND ${CMAKE_COMMAND}
|
||
|
-DCMAKE_INSTALL_PREFIX=${DEPS_INSTALL_DIR}
|
||
|
-DTWEENY_BUILD_EXAMPLES=OFF
|
||
|
-DTWEENY_BUILD_DOCUMENTATION=OFF
|
||
|
${DEPS_BUILD_DIR}/tweeny
|
||
|
${WINDOWS_FLAGS})
|
||
|
|
||
|
list(APPEND THIRD_PARTY_DEPS Tweeny)
|