From 9441266c89e3b0b369bf714fd55f5aa8dec2f30f Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sat, 14 Dec 2024 23:33:58 +0000 Subject: [PATCH] cmakelists: remove clang-specific config closes #59 --- CMakeLists.txt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index aa8cdf9..70e8099 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,15 +47,6 @@ set_target_properties( 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) install(TARGETS hyprlang)