File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ if(PLATFORM_DESKTOP)
9797 target_compile_definitions (${PROJECT_NAME} PRIVATE -DPORTABLE )
9898 endif ()
9999
100- if (NOT MSVC )
100+ if (NOT WIN32 )
101101 set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -s" )
102102 if (BUILD_SHARED_LIBS )
103103 foreach (LIB ${RAYLIB_TARGET} ${TINYFD_TARGET} ${LCB_TARGET} ${IMGUI_TARGET} )
Original file line number Diff line number Diff line change @@ -3,3 +3,4 @@ set(HELP_LAUNCHER_TARGET "${HELP_LAUNCHER_TARGET}" PARENT_SCOPE)
33add_executable (${HELP_LAUNCHER_TARGET} "${CMAKE_CURRENT_SOURCE_DIR} /main.c" )
44set_target_properties (${HELP_LAUNCHER_TARGET} PROPERTIES BUILD_RPATH "${APP_RPATH} " )
55set_target_properties (${HELP_LAUNCHER_TARGET} PROPERTIES OUTPUT_NAME "${EXE_NAME} -help" )
6+ target_compile_definitions (${HELP_LAUNCHER_TARGET} PRIVATE -D_CRT_SECURE_NO_WARNINGS )
You can’t perform that action at this time.
0 commit comments