Skip to content

Commit 2903500

Browse files
authored
Merge pull request #85 from xbmc/fix/windowsStore
fix building Windows UWP
2 parents bd1b9af + 3031c38 commit 2903500

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ build_addon(audiodecoder.dumb DUMB DEPLIBS)
2828

2929
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
3030
add_definitions(-D_FILE_OFFSET_BITS=64)
31+
elseif(CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
32+
target_link_options(audiodecoder.dumb PRIVATE "/NODEFAULTLIB:libcmt")
3133
endif()
3234

3335
include(CPack)

0 commit comments

Comments
 (0)