1
0
mirror of https://github.com/dolphin-emu/dolphin synced 2024-07-08 20:25:52 +00:00

cmake: Fix typo in dolphin_compile_definitions

This commit is contained in:
Florent Castelli 2017-03-08 06:31:02 +01:00
parent 33ceb042b7
commit 5514680bc8
2 changed files with 2 additions and 2 deletions

View File

@ -30,5 +30,5 @@ function(dolphin_compile_definitions)
endif()
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS
"$<${genexp_config_test}:${ARGN}>")
"$<${genexp_config_test}:${defs}>")
endfunction()

View File

@ -206,7 +206,7 @@ endif()
if(CMAKE_C_COMPILER_ID MATCHES "MSVC")
check_and_add_flag(EXCEPTIONS /EHsc)
dolphin_compile_definitions(-D_DEBUG DEBUG_ONLY)
dolphin_compile_definitions(_DEBUG DEBUG_ONLY)
string(APPEND CMAKE_EXE_LINKER_FLAGS " /NXCOMPAT")
string(APPEND CMAKE_EXE_LINKER_FLAGS " /BASE:0x00400000")