Совместимость c CMake 3.7
This commit is contained in:
parent
42216b4f4f
commit
2260a5ac5f
@ -111,8 +111,10 @@ function(myx_target_setup TARGET_NAME)
|
||||
endif()
|
||||
endif()
|
||||
else()
|
||||
if((${CMAKE_VERSION} VERSION_GREATER "3.7.99") OR (NOT __target_type STREQUAL "OBJECT_LIBRARY"))
|
||||
target_link_libraries(${TARGET_NAME} PRIVATE ${__link_library})
|
||||
endif()
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user