mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-10 19:53:18 +02:00
add a MACRO_DIRECTORY variable to voxels CMakeLists
This commit is contained in:
parent
e434b06ed9
commit
31f3f0c31c
1 changed files with 6 additions and 4 deletions
|
@ -1,14 +1,16 @@
|
|||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
set(MACRO_DIRECTORY ../../cmake/macros)
|
||||
|
||||
# setup for find modules
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../../cmake/modules/")
|
||||
|
||||
set(TARGET_NAME voxels)
|
||||
|
||||
project(${TARGET_NAME})
|
||||
|
||||
# setup for find modules
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../../cmake/modules/")
|
||||
|
||||
# set up the external glm library
|
||||
include(../../cmake/macros/IncludeGLM.cmake)
|
||||
include(${MACRO_DIRECTORY}/IncludeGLM.cmake)
|
||||
include_glm(${TARGET_NAME})
|
||||
|
||||
# grab the implemenation and header files
|
||||
|
|
Loading…
Reference in a new issue