Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
make ASTYLE with c++17
this fixes the compilation on my system (mac)
  • Loading branch information
3nids authored and nyalldawson committed Mar 9, 2021
1 parent dcf97f2 commit 1681dbd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion external/astyle/CMakeLists.txt
Expand Up @@ -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
)

0 comments on commit 1681dbd

Please sign in to comment.