From 31b7d97097b114c33538bf81cf7e8133e924eba3 Mon Sep 17 00:00:00 2001 From: Ryzerth Date: Sun, 18 Apr 2021 04:15:31 +0200 Subject: [PATCH] new fixes 2 --- core/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 8efd53c1..ffa73842 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -10,6 +10,10 @@ else() endif (MSVC) add_definitions(-DSDRPP_IS_CORE) +if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") + include_directories("/usr/include") +endif() + # Set the install prefix add_compile_definitions(INSTALL_PREFIX="${CMAKE_INSTALL_PREFIX}")