mirror of https://github.com/AxioDL/metaforce.git
Fix assetnameparser build
This commit is contained in:
parent
b9fc493db7
commit
5ecc52b42b
|
@ -2,7 +2,10 @@ cmake_minimum_required(VERSION 3.10 FATAL_ERROR) # because of c++17
|
|||
|
||||
set(TINYXML_LIB_VERSION "5.0.1")
|
||||
set(TINYXML_LIB_SOVERSION "5")
|
||||
add_library(tinyxml2_static STATIC ../extern/tinyxml2/tinyxml2.cpp ../extern/tinyxml2/tinyxml2.h)
|
||||
add_library(tinyxml2_static STATIC
|
||||
"${CMAKE_SOURCE_DIR}/extern/tinyxml2/tinyxml2.cpp"
|
||||
"${CMAKE_SOURCE_DIR}/extern/tinyxml2/tinyxml2.h")
|
||||
target_include_directories(tinyxml2_static INTERFACE "${CMAKE_SOURCE_DIR}/extern")
|
||||
set_target_properties(tinyxml2_static PROPERTIES
|
||||
COMPILE_DEFINITONS "TINYXML2_EXPORT"
|
||||
VERSION "${TINYXML_LIB_VERSION}"
|
||||
|
|
Loading…
Reference in New Issue