mirror of https://github.com/axmolengine/axmol.git
Fix ci [ci build]
This commit is contained in:
parent
fc3ffa3b5b
commit
fdba046541
|
@ -32,5 +32,10 @@ set_target_properties(${target_name}
|
||||||
|
|
||||||
set_target_properties(${target_name} PROPERTIES
|
set_target_properties(${target_name} PROPERTIES
|
||||||
INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}"
|
INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}"
|
||||||
INTERFACE_COMPILE_DEFINITIONS PUGIXML_API=__declspec\(dllimport\)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(BUILD_SHARED_LIBS AND MSVC)
|
||||||
|
set_target_properties(${target_name} PROPERTIES
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS PUGIXML_API=__declspec\(dllimport\)
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue