From: Gregory King Date: Mon, 17 Mar 2014 20:58:27 +0000 (-0700) Subject: Reworked src/voglen/CMakeLists.txt to not compile tinyxml; X-Git-Url: https://git.cworth.org/git?p=vogl;a=commitdiff_plain;h=02dff20a1c88010684b8008badf89323310b911e Reworked src/voglen/CMakeLists.txt to not compile tinyxml; --- diff --git a/src/voglgen/CMakeLists.txt b/src/voglgen/CMakeLists.txt index 751b5ac..908a195 100644 --- a/src/voglgen/CMakeLists.txt +++ b/src/voglgen/CMakeLists.txt @@ -3,17 +3,20 @@ cmake_minimum_required(VERSION 2.8) include("${SRC_DIR}/build_options.cmake") -aux_source_directory(. SRC_LIST) -aux_source_directory(tinyxml SRC_LIST) +set(SRC_LIST voglgen.cpp) + +add_definitions(-DTIXML_USE_STL) include_directories( ${SRC_DIR}/voglcore + ${TinyXML_INCLUDE_DIRS} ) add_executable(${PROJECT_NAME} ${SRC_LIST}) target_link_libraries(${PROJECT_NAME} voglcore + ${TinyXML_LIBRARIES} ) build_options_finalize()