mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 22:27:13 +02:00
Remove VCPKG specific code.
This commit is contained in:
parent
7a6d0b9ef3
commit
c9028b0ffa
1 changed files with 3 additions and 6 deletions
|
@ -1,17 +1,14 @@
|
|||
#
|
||||
# Copyright 2015 High Fidelity, Inc.
|
||||
# Copyright 2025 Overte e.V.
|
||||
# Created by Bradley Austin Davis on 2015/10/10
|
||||
#
|
||||
# Distributed under the Apache License, Version 2.0.
|
||||
# See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
||||
#
|
||||
macro(TARGET_GLM)
|
||||
if (ANDROID)
|
||||
target_include_directories(${TARGET_NAME} PUBLIC "${VCPKG_INSTALL_ROOT}/include")
|
||||
else()
|
||||
find_package(glm CONFIG REQUIRED)
|
||||
target_link_libraries(${TARGET_NAME} glm::glm)
|
||||
endif()
|
||||
find_package(glm CONFIG REQUIRED)
|
||||
target_link_libraries(${TARGET_NAME} glm::glm)
|
||||
target_compile_definitions(${TARGET_NAME} PUBLIC GLM_FORCE_RADIANS)
|
||||
target_compile_definitions(${TARGET_NAME} PUBLIC GLM_ENABLE_EXPERIMENTAL)
|
||||
target_compile_definitions(${TARGET_NAME} PUBLIC GLM_FORCE_CTOR_INIT)
|
||||
|
|
Loading…
Reference in a new issue