mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
try again
This commit is contained in:
parent
83c1ee8a90
commit
9bf177627f
3
.github/workflows/cmake.yml
vendored
3
.github/workflows/cmake.yml
vendored
@ -46,6 +46,9 @@ jobs:
|
|||||||
# We'll use this as our working directory for all subsequent commands
|
# We'll use this as our working directory for all subsequent commands
|
||||||
run: cmake -E make_directory ${{github.workspace}}/build
|
run: cmake -E make_directory ${{github.workspace}}/build
|
||||||
|
|
||||||
|
- name: print libc++ version
|
||||||
|
run: COMMAND echo "#include <cstdint>\nint main () {}" | clang-9 -E --std=c++2a -stdlib=libc++ -x c++ -dM - | grep _LIBCPP_VERSION
|
||||||
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
# Use a bash shell so we can use the same syntax for environment variable
|
# Use a bash shell so we can use the same syntax for environment variable
|
||||||
# access regardless of the host operating system
|
# access regardless of the host operating system
|
||||||
|
@ -56,7 +56,6 @@ if(CMAKE_CXX_COMPILER_ID MATCHES ".*Clang")
|
|||||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++ -lc++abi")
|
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++ -lc++abi")
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
|
||||||
set(PROJECT_WARNINGS ${CLANG_WARNINGS})
|
set(PROJECT_WARNINGS ${CLANG_WARNINGS})
|
||||||
execute_process(COMMAND printf "#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})
|
target_compile_options(test_rgbcx PUBLIC ${PROJECT_WARNINGS})
|
||||||
endif()
|
endif()
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "-g")
|
set(CMAKE_CXX_FLAGS_DEBUG "-g")
|
||||||
|
Loading…
Reference in New Issue
Block a user