Skip to content

Commit

Permalink
Remove winmain thing.
Browse files Browse the repository at this point in the history
  • Loading branch information
abellgithub committed Feb 8, 2024
1 parent 52230c3 commit d3210d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ file(GLOB SRCS
bu/*.cpp
)

if(MSVC)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} \
/SUBSYSTEM:WINDOWS /ENTRY:wmainCRTStartup")
endif()
#if(MSVC)
# set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} \
# /SUBSYSTEM:WINDOWS /ENTRY:wmainCRTStartup")
#endif()

set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin)

Expand Down

0 comments on commit d3210d2

Please sign in to comment.