mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 04:08:13 +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)
|
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)
|
set(TARGET_NAME voxels)
|
||||||
|
|
||||||
project(${TARGET_NAME})
|
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
|
# set up the external glm library
|
||||||
include(../../cmake/macros/IncludeGLM.cmake)
|
include(${MACRO_DIRECTORY}/IncludeGLM.cmake)
|
||||||
include_glm(${TARGET_NAME})
|
include_glm(${TARGET_NAME})
|
||||||
|
|
||||||
# grab the implemenation and header files
|
# grab the implemenation and header files
|
||||||
|
|
Loading…
Reference in a new issue