mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
make ASTYLE with c++17
this fixes the compilation on my system (mac)
This commit is contained in:
parent
dcf97f2d68
commit
1681dbde9a
5
external/astyle/CMakeLists.txt
vendored
5
external/astyle/CMakeLists.txt
vendored
@ -12,4 +12,7 @@ if(NOT MSVC)
|
||||
set_source_files_properties(${ASTYLE_SRCS} PROPERTIES COMPILE_FLAGS -w)
|
||||
endif()
|
||||
add_executable(qgisstyle ${ASTYLE_SRCS})
|
||||
set_target_properties(qgisstyle PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/scripts)
|
||||
set_target_properties(qgisstyle PROPERTIES
|
||||
CXX_STANDARD 17
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/scripts
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user