Skip to content

Commit

Permalink
Other stuff again
Browse files Browse the repository at this point in the history
  • Loading branch information
JustDoom committed Feb 7, 2025
1 parent 06910a8 commit a36b029
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 @@ -4,8 +4,6 @@ LANGUAGES CXX
VERSION 0.1)

if(CMAKE_HOST_WIN32)
# add_definitions(-D_WIN32_WINNT=0x0501 -DWINVER=0x0501)
# set_property(TARGET 8ChocChip PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32")
set(libname "libconfig")
else()
Expand All @@ -27,6 +25,8 @@ if(CMAKE_HOST_WIN32)
set_target_properties(8ChocChip PROPERTIES
WIN32_EXECUTABLE TRUE
)
add_definitions(-D_WIN32_WINNT=0x0501 -DWINVER=0x0501)
set_property(TARGET 8ChocChip PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded")
else()
add_executable(8ChocChip)
endif()
Expand Down

0 comments on commit a36b029

Please sign in to comment.