blueloveTH пре 2 година
родитељ
комит
e319c715e4
4 измењених фајлова са 0 додато и 6 уклоњено
  1. 0 3
      CMakeLists.txt
  2. 0 1
      README.md
  3. 0 1
      c_bindings/CMakeLists.txt
  4. 0 1
      docs/quick-start/installation.md

+ 0 - 3
CMakeLists.txt

@@ -21,9 +21,6 @@ if(MSVC)
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /GR- /EHsc /utf-8 /O2")
 else()
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti -fexceptions -O2")
-    if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
-        set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
-    endif()
 endif()
 
 include_directories(${CMAKE_CURRENT_LIST_DIR}/include)

+ 0 - 1
README.md

@@ -41,7 +41,6 @@ To compile it with your project, these flags must be set:
 + `--std=c++17` flag must be set
 + Exception must be enabled
 + RTTI is not required
-+ If clang is used, `-stdlib=libc++` must be set
 
 ### Example
 

+ 0 - 1
c_bindings/CMakeLists.txt

@@ -3,7 +3,6 @@ cmake_minimum_required(VERSION 3.17)
 project(test_c_bindings)
 
 set(CMAKE_C_STANDARD 11)
-set(CMAKE_CXX_STANDARD 17)
 
 option(PK_BUILD_STATIC_LIB "Build static library" ON)
 

+ 0 - 1
docs/quick-start/installation.md

@@ -23,7 +23,6 @@ To compile it with your project, these flags must be set:
 + `--std=c++17` flag must be set
 + Exception must be enabled
 + RTTI is not required
-+ If clang is used, `-stdlib=libc++` must be set
 
 ### Example