Skip to content

Commit

Permalink
improve CMakeLists.txt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
katahiromz committed Sep 6, 2023
1 parent 5194ac1 commit e2adb14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ target_compile_definitions(notepad PRIVATE

target_include_directories(notepad PRIVATE ./ reactos/)
target_link_libraries(notepad PRIVATE user32 gdi32 comctl32 comdlg32 advapi32 shell32 msvcrt kernel32)

if (MSVC)
# Use wWinMain
target_link_options(notepad PRIVATE "/entry:wWinMainCRTStartup")
endif()

if (MSVC)
# No default manifest
target_link_options(notepad PRIVATE /MANIFEST:NO)
endif()
Expand Down

0 comments on commit e2adb14

Please sign in to comment.