new fixes 3

This commit is contained in:
Ryzerth
2021-04-18 04:16:17 +02:00
parent 31b7d97097
commit 85d79f25d9
2 changed files with 4 additions and 4 deletions

View File

@ -10,8 +10,8 @@ else()
endif (MSVC)
add_definitions(-DSDRPP_IS_CORE)
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
include_directories("/usr/include")
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
set(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "${CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS} -undefined dynamic_lookup")
endif()
# Set the install prefix