add a MACRO_DIRECTORY variable to voxels CMakeLists

This commit is contained in:
Stephen Birarda 2013-04-12 13:09:22 -07:00
parent e434b06ed9
commit 31f3f0c31c

View file

@ -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