Browse Source

Attempt to fix a duplicate problem in CMake in Yera

master
Gavin Howard 4 years ago
parent
commit
f2001c3940
Signed by: gavin GPG Key ID: C08038BDF280D33E
  1. 4
      functions.cmake

4
functions.cmake

@ -264,6 +264,10 @@ function(merge_libs outlib)
# Install the resulting library.
install(TARGETS "${outlib}" ARCHIVE DESTINATION lib/)
# Make sure to erase the lists.
set(STATIC_LIBS_NAMES "" CACHE INTERNAL "List of library target names")
set(STATIC_LIBS_LIST "" CACHE INTERNAL "List of libraries to merge")
endfunction(merge_libs)
function(create_test_target target)

Loading…
Cancel
Save