Skip to content

Commit

Permalink
Use Cpp11 instead of Cpp17
Browse files Browse the repository at this point in the history
  • Loading branch information
tpeulen committed Feb 9, 2024
1 parent f3791eb commit b7865c8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.13.0 FATAL_ERROR)
SET(PROJECT_NAME fit2x)
PROJECT(${PROJECT_NAME})
ENABLE_LANGUAGE(CXX)
SET(CMAKE_CXX_STANDARD 11)
SET(CMAKE_CXX_STANDARD 17)
ADD_DEFINITIONS(-D_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES)

################################################################################
Expand Down Expand Up @@ -106,6 +106,11 @@ ENDIF (CMAKE_BUILD_TYPE STREQUAL "Release")
###### INCLUDES AND LIBRARIES
################################################################################

# third party includes/code
FILE(GLOB_RECURSE SRC_files_thirdparty "${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/*.cpp")
LIST(APPEND SRC_files ${SRC_files_thirdparty})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/thirdparty)

## CONDA
###########################
FIND_PACKAGE(Conda)
Expand Down

0 comments on commit b7865c8

Please sign in to comment.