mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 07:36:36 +02:00
Said files are now buried under hidden/externals; the (phony) build targets still exist and are visible in the target dropdown, but this is filterable (in Xcode, dunno about Visual Studio (just start typing and a filter/search box comes up))
21 lines
No EOL
699 B
CMake
21 lines
No EOL
699 B
CMake
set(EXTERNAL_NAME glm)
|
|
|
|
include(ExternalProject)
|
|
ExternalProject_Add(
|
|
${EXTERNAL_NAME}
|
|
URL http://hifi-public.s3.amazonaws.com/dependencies/glm-0.9.5.4.zip
|
|
URL_MD5 fab76fc982b256b46208e5c750ed456a
|
|
BINARY_DIR ${EXTERNAL_PROJECT_PREFIX}/build
|
|
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
|
|
LOG_DOWNLOAD 1
|
|
LOG_CONFIGURE 1
|
|
LOG_BUILD 1
|
|
)
|
|
|
|
# Hide this external target (for ide users)
|
|
set_target_properties(${EXTERNAL_NAME} PROPERTIES FOLDER "hidden/externals")
|
|
|
|
ExternalProject_Get_Property(${EXTERNAL_NAME} INSTALL_DIR)
|
|
|
|
string(TOUPPER ${EXTERNAL_NAME} EXTERNAL_NAME_UPPER)
|
|
set(${EXTERNAL_NAME_UPPER}_INCLUDE_DIRS ${INSTALL_DIR}/include CACHE PATH "List of glm include directories") |