mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-29 10:21:54 -06:00
Remove target_link_directories calls.
The link directories are handled by target_link_libraries.
This commit is contained in:
parent
3112f61890
commit
39e678ae81
@ -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})
|
||||
|
||||
# ##############################################################################
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user