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 @@ -100,7 +100,7 @@ if(PLATFORM_DESKTOP)
100100 target_compile_definitions (${PROJECT_NAME} PRIVATE -DPORTABLE )
101101 endif ()
102102
103- if (NOT MSVC )
103+ if (NOT WIN32 )
104104 set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -s" )
105105 if (BUILD_SHARED_LIBS )
106106 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