"repodemo/llm/api/codegeex4.py" did not exist on "18493eefc09cd47a6d47da3af0d73cbee063de9f"
Commit 21d75fa4 authored by Fatih YAZICI's avatar Fatih YAZICI Committed by Jesse Beder
Browse files

Fix CMake 3.10 and below compatibility (#763)

Add empty list of sources to add_library and add_executable.
parent 84809112
......@@ -61,7 +61,7 @@ set(msvc-rt-mt-dll $<STREQUAL:${msvc-rt},MultiThreadedDLL>)
set(backport-msvc-runtime $<VERSION_LESS:${CMAKE_VERSION},3.15>)
add_library(yaml-cpp ${yaml-cpp-type})
add_library(yaml-cpp ${yaml-cpp-type} "")
add_library(yaml::yaml ALIAS yaml-cpp)
set_property(TARGET yaml-cpp
......
......@@ -20,7 +20,7 @@ endif()
file(GLOB test-new-api-sources ${test-new-api-pattern})
file(GLOB test-sources ${test-source-pattern})
add_executable(yaml-cpp-tests)
add_executable(yaml-cpp-tests "")
target_sources(yaml-cpp-tests
PRIVATE
${test-new-api-sources}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment