mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 04:41:16 +00:00
Fix CMake 3.10 and below compatibility (#763)
Add empty list of sources to add_library and add_executable.
This commit is contained in:

committed by
Jesse Beder

parent
848091124d
commit
21d75fa4cd
@@ -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}
|
||||
|
Reference in New Issue
Block a user