[nostalgia] Fix MSVC build
This commit is contained in:
parent
40f3c4ecb5
commit
5f4e6740cc
@ -4,7 +4,9 @@ add_library(
|
||||
media.cpp
|
||||
)
|
||||
|
||||
target_compile_options(NostalgiaCore PUBLIC -Wsign-conversion)
|
||||
if(NOT MSVC)
|
||||
target_compile_options(NostalgiaCore PUBLIC -Wsign-conversion)
|
||||
endif()
|
||||
|
||||
target_link_libraries(
|
||||
NostalgiaCore PUBLIC
|
||||
|
@ -11,7 +11,9 @@ add_library(
|
||||
rsrc.qrc
|
||||
)
|
||||
|
||||
target_compile_options(NostalgiaCore-Studio PRIVATE -Wsign-conversion)
|
||||
if(NOT MSVC)
|
||||
target_compile_options(NostalgiaCore-Studio PRIVATE -Wsign-conversion)
|
||||
endif()
|
||||
|
||||
target_link_libraries(
|
||||
NostalgiaCore-Studio
|
||||
|
@ -3,7 +3,9 @@ add_library(
|
||||
media.cpp
|
||||
)
|
||||
|
||||
target_compile_options(NostalgiaCore-Userspace PRIVATE -Wsign-conversion)
|
||||
if(NOT MSVC)
|
||||
target_compile_options(NostalgiaCore-Userspace PRIVATE -Wsign-conversion)
|
||||
endif()
|
||||
|
||||
target_link_libraries(
|
||||
NostalgiaCore-Userspace PUBLIC
|
||||
|
Loading…
Reference in New Issue
Block a user