tinyxml2 integration fixes

This commit is contained in:
Jack Andersen 2017-07-02 17:53:05 -10:00
parent 3060a1a934
commit d432a93553
2 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,8 @@ project(urde)
set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(BUILD_SHARED_LIBS OFF)
set(BUILD_STATIC_LIBS ON)
if(MSVC) if(MSVC)
if(${CMAKE_GENERATOR} MATCHES "Visual Studio*") if(${CMAKE_GENERATOR} MATCHES "Visual Studio*")

View File

@ -12,4 +12,4 @@ if (UNIX)
endif() endif()
target_link_libraries(assetnameparser tinyxml2 logvisor ${AN_PARSER_LIBS}) target_link_libraries(assetnameparser tinyxml2_static logvisor ${AN_PARSER_LIBS})