|
|
@ -80,6 +80,22 @@ ExternalProject_Add(SDL2 |
|
|
|
"-DVIDEO_VULKAN=OFF" |
|
|
|
BUILD_ALWAYS 0) |
|
|
|
|
|
|
|
# Build glfw module |
|
|
|
ExternalProject_Add(glfw |
|
|
|
SOURCE_DIR ${MODULE_SOURCE_DIR}/glfw |
|
|
|
BINARY_DIR ${MODULE_BUILD_DIR}/glfw |
|
|
|
INSTALL_DIR ${MODULE_INSTALL_DIR} |
|
|
|
CMAKE_ARGS |
|
|
|
"-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}" |
|
|
|
"-DCMAKE_INSTALL_PREFIX=${MODULE_INSTALL_DIR}" |
|
|
|
"-DBUILD_SHARED_LIBS=ON" |
|
|
|
"-DGLFW_BUILD_EXAMPLES=OFF" |
|
|
|
"-DGLFW_BUILD_TESTS=OFF" |
|
|
|
"-DGLFW_BUILD_DOCS=OFF" |
|
|
|
"-DGLFW_INSTALL=ON" |
|
|
|
"-DGLFW_VULKAN_STATIC=OFF" |
|
|
|
BUILD_ALWAYS 0) |
|
|
|
|
|
|
|
# Build VMQ module |
|
|
|
ExternalProject_Add(vmq |
|
|
|
SOURCE_DIR ${MODULE_SOURCE_DIR}/vmq |
|
|
|