mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
quick test
This commit is contained in:
parent
458c6eb445
commit
4812070f9d
@ -54,8 +54,9 @@ set(CLANG_WARNINGS
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES ".*Clang")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++ -lc++abi")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -v -stdlib=libc++")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
|
||||
set(PROJECT_WARNINGS ${CLANG_WARNINGS})
|
||||
execute_process(COMMAND echo "#include <cstdint>\nint main () {}" | clang-9 -E --std=c++2a -stdlib=libc++ -x c++ -dM - | grep _LIBCPP_VERSION)
|
||||
target_compile_options(test_rgbcx PUBLIC ${PROJECT_WARNINGS})
|
||||
endif()
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "-g")
|
||||
|
Loading…
Reference in New Issue
Block a user