]> git.cworth.org Git - vogl/commitdiff
Reworked src/voglen/CMakeLists.txt to not compile tinyxml;
authorGregory King <greg.james.king@gmail.com>
Mon, 17 Mar 2014 20:58:27 +0000 (13:58 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 1 Apr 2014 19:37:30 +0000 (12:37 -0700)
src/voglgen/CMakeLists.txt

index 751b5ace900f6ebf47037d02268a1da5f3b5bf23..908a195db018316ebc3509a7233a4b903e2e14bf 100644 (file)
@@ -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()