Skip to content
Snippets Groups Projects
Commit 7d833bca authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Add PRIVATE keyword

parent 587b6875
No related branches found
No related tags found
No related merge requests found
...@@ -22,17 +22,18 @@ add_executable(test_set_all_outerm ...@@ -22,17 +22,18 @@ add_executable(test_set_all_outerm
${PROJECT_SOURCE_DIR}/Common/write_eddy.f90 ${PROJECT_SOURCE_DIR}/Common/write_eddy.f90
${PROJECT_SOURCE_DIR}/Common/shpc_close.f90) ${PROJECT_SOURCE_DIR}/Common/shpc_close.f90)
target_link_libraries(test_set_all_outerm geometry NetCDF95::netcdf95 target_link_libraries(test_set_all_outerm PRIVATE geometry
numer_rec_95 shapelib_03 contour_531 jumble nr_util NetCDF95::netcdf95 numer_rec_95 shapelib_03 contour_531 jumble
NetCDF_Fortran::NetCDF_Fortran) nr_util NetCDF_Fortran::NetCDF_Fortran)
# test_good_contour # test_good_contour
add_executable(test_good_contour good_contour.f90 add_executable(test_good_contour good_contour.f90
${CMAKE_CURRENT_LIST_DIR}/test_good_contour.f90) ${CMAKE_CURRENT_LIST_DIR}/test_good_contour.f90)
target_link_libraries(test_good_contour geometry NetCDF95::netcdf95 shapelib_03 target_link_libraries(test_good_contour PRIVATE geometry
contour_531 jumble nr_util NetCDF_Fortran::NetCDF_Fortran) NetCDF95::netcdf95 shapelib_03 contour_531 jumble nr_util
NetCDF_Fortran::NetCDF_Fortran)
# test_inside_4 # test_inside_4
...@@ -56,7 +57,7 @@ add_executable(test_max_speed_contour_ssh ...@@ -56,7 +57,7 @@ add_executable(test_max_speed_contour_ssh
get_var.f90 get_var.f90
${CMAKE_CURRENT_LIST_DIR}/test_max_speed_contour_ssh.f90) ${CMAKE_CURRENT_LIST_DIR}/test_max_speed_contour_ssh.f90)
target_link_libraries(test_max_speed_contour_ssh fortranGIS target_link_libraries(test_max_speed_contour_ssh PRIVATE fortranGIS
NetCDF95::netcdf95 contour_531 jumble nr_util NetCDF95::netcdf95 contour_531 jumble nr_util
NetCDF_Fortran::NetCDF_Fortran) NetCDF_Fortran::NetCDF_Fortran)
......
...@@ -48,7 +48,7 @@ add_executable(test_weight weight.f90 ...@@ -48,7 +48,7 @@ add_executable(test_weight weight.f90
${PROJECT_SOURCE_DIR}/Common/derived_types.f90 ${PROJECT_SOURCE_DIR}/Common/derived_types.f90
${CMAKE_CURRENT_LIST_DIR}/test_weight.f90) ${CMAKE_CURRENT_LIST_DIR}/test_weight.f90)
target_link_libraries(test_weight fortranGIS contour_531 nr_util) target_link_libraries(test_weight PRIVATE fortranGIS contour_531 nr_util)
# test_read_eddy # test_read_eddy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment