add direct source dependency to each library
Fix library generation with some CMake generators by including a direct source file dependency for each library.
This commit is contained in:
@@ -1009,7 +1009,7 @@ target_include_directories(crypto_obj
|
||||
PUBLIC
|
||||
../include)
|
||||
|
||||
add_library(crypto $<TARGET_OBJECTS:crypto_obj>)
|
||||
add_library(crypto $<TARGET_OBJECTS:crypto_obj> empty.c)
|
||||
|
||||
export_symbol(crypto ${CMAKE_CURRENT_BINARY_DIR}/crypto_p.sym)
|
||||
target_link_libraries(crypto ${PLATFORM_LIBS})
|
||||
|
Reference in New Issue
Block a user