Put pugixml after the libc++ checks
This commit is contained in:
parent
92b81d45a1
commit
60c0e7763a
1 changed files with 10 additions and 10 deletions
|
|
@ -52,9 +52,6 @@ else()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(sfizz-pugixml STATIC "src/external/pugixml/src/pugixml.cpp")
|
|
||||||
target_include_directories(sfizz-pugixml PUBLIC "src/external/pugixml/src")
|
|
||||||
|
|
||||||
# If we build with Clang use libc++
|
# If we build with Clang use libc++
|
||||||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT ANDROID)
|
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT ANDROID)
|
||||||
set(USE_LIBCPP ON CACHE BOOL "Use libc++ with clang")
|
set(USE_LIBCPP ON CACHE BOOL "Use libc++ with clang")
|
||||||
|
|
@ -66,6 +63,9 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND NOT ANDROID)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
add_library(sfizz-pugixml STATIC "src/external/pugixml/src/pugixml.cpp")
|
||||||
|
target_include_directories(sfizz-pugixml PUBLIC "src/external/pugixml/src")
|
||||||
|
|
||||||
include (CheckLibraryExists)
|
include (CheckLibraryExists)
|
||||||
if (UNIX AND NOT APPLE)
|
if (UNIX AND NOT APPLE)
|
||||||
check_library_exists(atomic __atomic_load "" LIBATOMIC_FOUND)
|
check_library_exists(atomic __atomic_load "" LIBATOMIC_FOUND)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue