diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index 5a7838515..455549c6a 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -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}