mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-12-25 10:04:16 -05:00
Update cpp-optparse to last commit and turn into a submodule
This commit is contained in:
15
Externals/cpp-optparse/CMakeLists.txt
vendored
15
Externals/cpp-optparse/CMakeLists.txt
vendored
@@ -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