mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove target_link_directories calls.
The link directories are handled by target_link_libraries.
This commit is contained in:
@@ -276,10 +276,6 @@ if(RESINSIGHT_USE_ODB_API)
|
|||||||
list(APPEND LINK_LIBRARIES RifOdbReader)
|
list(APPEND LINK_LIBRARIES RifOdbReader)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(DEFINED GRPC_LIBRARY_DIRS)
|
|
||||||
target_link_directories(ResInsight PRIVATE ${GRPC_LIBRARY_DIRS})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
target_link_libraries(ResInsight ${LINK_LIBRARIES})
|
target_link_libraries(ResInsight ${LINK_LIBRARIES})
|
||||||
|
|
||||||
# ##############################################################################
|
# ##############################################################################
|
||||||
|
|||||||
@@ -286,7 +286,6 @@ target_include_directories(${PROJECT_NAME} PUBLIC
|
|||||||
${CMAKE_BINARY_DIR}/Generated
|
${CMAKE_BINARY_DIR}/Generated
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_directories(${PROJECT_NAME} PUBLIC ${GRPC_LIBRARY_DIRS})
|
|
||||||
target_link_libraries(${PROJECT_NAME} PRIVATE ${_LINK_LIBRARIES})
|
target_link_libraries(${PROJECT_NAME} PRIVATE ${_LINK_LIBRARIES})
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
|
|||||||
Reference in New Issue
Block a user