Skip to content

Commit d513236

Browse files
committed
Remove use of target_link_directories
1 parent 80458f7 commit d513236

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ git:
99

1010
cache:
1111
bundler: true
12-
ccache: true
1312
pip: true
1413

1514
env:
@@ -94,7 +93,7 @@ script:
9493
pipenv run cmake -H. -Bbuild \
9594
-DCMAKE_CXX_COMPILER=$CXX_COMPILER \
9695
-DCMAKE_C_COMPILER=$C_COMPILER \
97-
-DCMAKE_Fortran_COMPILERE=$Fortran_COMPILER \
96+
-DCMAKE_Fortran_COMPILER=$Fortran_COMPILER \
9897
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
9998
-DCMAKE_INSTALL_PREFIX=$HOME/Software/pcmsolver
10099
#- |

src/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,9 @@ target_include_directories(pcm
102102
$<INSTALL_INTERFACE:${INSTALL_INCLUDEDIR}>
103103
)
104104

105-
target_link_directories(pcm
106-
INTERFACE
107-
${CMAKE_Fortran_IMPLICIT_LINK_DIRECTORIES}
108-
)
109-
110105
target_link_libraries(pcm
111106
INTERFACE
112107
ZLIB::ZLIB
113-
${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES}
114108
)
115109

116110
set_target_properties(pcm

0 commit comments

Comments
 (0)