Update CMakeLists.txt
closes https://github.com/assimp/assimp/issues/2449: fix uwp handlingpull/2462/head
parent
c48adf2301
commit
815730c92d
|
@ -1077,7 +1077,9 @@ if( MSVC )
|
|||
endif()
|
||||
|
||||
if (${CMAKE_SYSTEM_NAME} MATCHES "WindowsStore")
|
||||
set(WindowsStore TRUE)
|
||||
target_compile_definitions(assimp PUBLIC WindowsStore)
|
||||
TARGET_LINK_LIBRARIES(assimp advapi32)
|
||||
#set(WindowsStore TRUE)
|
||||
endif()
|
||||
SET_TARGET_PROPERTIES( assimp PROPERTIES
|
||||
VERSION ${ASSIMP_VERSION}
|
||||
|
|
Loading…
Reference in New Issue