cmakelists: remove clang-specific config

closes #59
This commit is contained in:
Vaxry 2024-12-14 23:33:58 +00:00
parent f7acd5dabb
commit 9441266c89

View file

@ -47,15 +47,6 @@ set_target_properties(
target_link_libraries(hyprlang PkgConfig::deps) target_link_libraries(hyprlang PkgConfig::deps)
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
# for std::expected. probably evil. Arch's clang is very outdated tho...
target_compile_options(hyprlang PUBLIC -std=gnu++2b -D__cpp_concepts=202002L
-Wno-macro-redefined)
add_compile_options(-stdlib=libc++)
add_link_options(-stdlib=libc++)
message(STATUS "Using clang++ to compile hyprlang")
endif()
add_library(hypr::hyprlang ALIAS hyprlang) add_library(hypr::hyprlang ALIAS hyprlang)
install(TARGETS hyprlang) install(TARGETS hyprlang)