Fix cplusplus macro on windows
This commit is contained in:
parent
13cdbd5227
commit
a305c2689c
@ -601,6 +601,9 @@ if(APPLE)
|
||||
elseif(WIN32)
|
||||
target_compile_definitions(nheko PRIVATE WIN32_LEAN_AND_MEAN)
|
||||
target_link_libraries (nheko PRIVATE ${NTDLIB} Qt5::WinMain)
|
||||
if(MSVC)
|
||||
target_compile_options(nheko PUBLIC "/Zc:__cplusplus")
|
||||
endif()
|
||||
else()
|
||||
target_link_libraries (nheko PRIVATE Qt5::DBus)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user