Remove target_link_directories calls.

The link directories are handled by target_link_libraries.
This commit is contained in:
Kristian Bendiksen 2021-01-12 10:47:07 +01:00
parent 3112f61890
commit 39e678ae81
2 changed files with 0 additions and 5 deletions

View File

@ -276,10 +276,6 @@ if(RESINSIGHT_USE_ODB_API)
list(APPEND LINK_LIBRARIES RifOdbReader)
endif()
if(DEFINED GRPC_LIBRARY_DIRS)
target_link_directories(ResInsight PRIVATE ${GRPC_LIBRARY_DIRS})
endif()
target_link_libraries(ResInsight ${LINK_LIBRARIES})
# ##############################################################################

View File

@ -286,7 +286,6 @@ target_include_directories(${PROJECT_NAME} PUBLIC
${CMAKE_BINARY_DIR}/Generated
)
target_link_directories(${PROJECT_NAME} PUBLIC ${GRPC_LIBRARY_DIRS})
target_link_libraries(${PROJECT_NAME} PRIVATE ${_LINK_LIBRARIES})
if(MSVC)