diff --git a/CMakeLists.txt b/CMakeLists.txt index a361506..a8af007 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,12 +58,15 @@ set(EXECUTABLE_OUTPUT_PATH ${dir} CACHE PATH "Build directory" FORCE) # source and header files FILE(GLOB SOURCE_FILES "${CMAKE_SOURCE_DIR}/game/*.cc") -FILE(GLOB SOURCE_FILES_TINYXML "${CMAKE_SOURCE_DIR}/extern/tinyxml/*.cc") -SET(SOURCE_FILES ${SOURCE_FILES} ${SOURCE_FILES_TINYXML}) FILE(GLOB HEADER_FILES "${CMAKE_SOURCE_DIR}/game/*.hh") + +# tinyxml + FILE(GLOB HEADER_FILES_TINYXML "${CMAKE_SOURCE_DIR}/extern/tinyxml/*.hh") SET(HEADER_FILES ${HEADER_FILES} ${HEADER_FILES_TINYXML}) +FILE(GLOB SOURCE_FILES_TINYXML "${CMAKE_SOURCE_DIR}/extern/tinyxml/*.cc") +SET(SOURCE_FILES ${SOURCE_FILES} ${SOURCE_FILES_TINYXML}) INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/extern/tinyxml)