From ea6d685df48a6d53c5afce591d2357ea2272faf0 Mon Sep 17 00:00:00 2001 From: "@Nurullah.Damla" Date: Wed, 8 Jan 2020 13:15:27 +0100 Subject: [PATCH] add for MACOS --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1e7c069..31eb3d5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,9 @@ if ("${CMAKE_BINARY_DIR}" STREQUAL "${CMAKE_SOURCE_DIR}") endif() set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES "bin" "doc" "CMakeFiles" "lib" "include") +set(CMAKE_C_COMPILER "clang") +set(CMAKE_CXX_COMPILER "clang++") + project(library) set(CMAKE_CXX_STANDARD 14)