Skip to content
Permalink
Browse files
Merge pull request #6143 from ligfx/dolphinflags
CMake: add DOLPHIN_CXX_FLAGS option
  • Loading branch information
Tilka committed Feb 9, 2020
2 parents 0043a2c + 73711ef commit 7fe11c9
Showing 1 changed file with 5 additions and 0 deletions.
@@ -1,3 +1,8 @@
option(DOLPHIN_CXX_FLAGS "Flags used to compile Dolphin-only sources" "")
if(DOLPHIN_CXX_FLAGS)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${DOLPHIN_CXX_FLAGS}")
endif()

if(CMAKE_SYSTEM_NAME MATCHES "Windows")
add_definitions(-DNOMINMAX)
add_definitions(-DUNICODE)

0 comments on commit 7fe11c9

Please sign in to comment.