mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-09-18 10:50:05 +00:00
Update cpp-optparse to last commit and turn into a submodule
This commit is contained in:
+11
-4
@@ -1,7 +1,14 @@
|
||||
check_and_add_flag(CXX11 -std=c++11)
|
||||
|
||||
set(SRCS OptionParser.cpp OptionParser.h)
|
||||
set(SRCS
|
||||
cpp-optparse/OptionParser.cpp
|
||||
cpp-optparse/OptionParser.h
|
||||
)
|
||||
|
||||
add_library(cpp-optparse STATIC ${SRCS})
|
||||
target_compile_features(cpp-optparse PUBLIC cxx_std_11)
|
||||
target_compile_options(cpp-optparse PRIVATE -fexceptions)
|
||||
dolphin_disable_warnings(cpp-optparse)
|
||||
target_include_directories(cpp-optparse PUBLIC .)
|
||||
|
||||
target_include_directories(cpp-optparse
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/cpp-optparse
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user