mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-19 13:10:00 +00:00
Merge pull request #927 from yuriks/getopt-fix
getopt: Fix compilation settings.
This commit is contained in:
commit
ecdfd0643a
2 changed files with 2 additions and 3 deletions
2
externals/getopt/CMakeLists.txt
vendored
2
externals/getopt/CMakeLists.txt
vendored
|
@ -7,5 +7,5 @@ set(HEADERS
|
|||
|
||||
create_directory_groups(${SRCS} ${HEADERS})
|
||||
add_library(getopt ${SRCS} ${HEADERS})
|
||||
target_compile_definitions(getopt INTERFACE STATIC_GETOPT)
|
||||
target_compile_definitions(getopt PUBLIC STATIC_GETOPT)
|
||||
target_include_directories(getopt INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
|
1
externals/getopt/getopt.c
vendored
1
externals/getopt/getopt.c
vendored
|
@ -35,7 +35,6 @@ PROFITS, BUSINESS INTERRUPTION, LOSS OF PROGRAMS OR OTHER DATA ON
|
|||
YOUR INFORMATION HANDLING SYSTEM OR OTHERWISE, EVEN If WE ARE
|
||||
EXPRESSLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
*/
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#ifdef _MSC_VER
|
||||
|
|
Loading…
Reference in a new issue