We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c161cae commit c99b1dfCopy full SHA for c99b1df
src/build-runtime.cmake
@@ -113,7 +113,8 @@ target_link_libraries(runtime PRIVATE libsquashfuse dl xz libzlib pthread libapp
113
if(COMMAND target_link_options)
114
target_link_options(runtime PRIVATE ${runtime_ldflags})
115
else()
116
- set_property(TARGET runtime PROPERTY LINK_FLAGS ${runtime_ldflags})
+ message(WARNING "CMake version < 3.13, falling back to using target_link_libraries instead of target_link_options")
117
+ target_link_libraries(runtime PRIVATE ${runtime_ldflags})
118
endif()
119
target_include_directories(runtime PRIVATE ${PROJECT_SOURCE_DIR}/include)
120
0 commit comments