mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
CMake build system: Fix on older linux?
This commit is contained in:
@@ -5,9 +5,9 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
# Add our own cmake module path.
|
||||
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/modules/)
|
||||
|
||||
if (UNIX)
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
# Workaround for an old CMake, which does not understand CMAKE_CXX_STANDARD.
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
|
||||
add_compile_options(-std=c++11 -Wall)
|
||||
endif()
|
||||
|
||||
# Where all the bundled libraries reside?
|
||||
|
||||
Reference in New Issue
Block a user