aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-05-29 13:04:16 +0200
committerThomas White <taw@physics.org>2018-05-29 13:07:01 +0200
commit5c01bccb2d1889cb6c9801ea344ab227b0427594 (patch)
treecec4effa93a1754426efc88f91fa7752794dfcf9
parentaec4f464f1914fa04eef384f6cb5fe84db4d43c8 (diff)
Make libcrystfel dependencies private
-rw-r--r--libcrystfel/CMakeLists.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/libcrystfel/CMakeLists.txt b/libcrystfel/CMakeLists.txt
index 83a561d1..271291e4 100644
--- a/libcrystfel/CMakeLists.txt
+++ b/libcrystfel/CMakeLists.txt
@@ -111,41 +111,41 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_definitions(-DHAVE_CONFIG_H)
target_include_directories(${PROJECT_NAME} PRIVATE ${HDF5_INCLUDE_DIRS})
-target_link_libraries(${PROJECT_NAME} PUBLIC util ${HDF5_C_LIBRARIES})
+target_link_libraries(${PROJECT_NAME} PRIVATE util ${HDF5_C_LIBRARIES})
if (XGANDALF_FOUND)
target_include_directories(${PROJECT_NAME} PRIVATE ${XGANDALF_INCLUDES})
- target_link_libraries(${PROJECT_NAME} PUBLIC ${XGANDALF_LIBRARIES})
+ target_link_libraries(${PROJECT_NAME} PRIVATE ${XGANDALF_LIBRARIES})
endif (XGANDALF_FOUND)
if (FDIP_FOUND)
target_include_directories(${PROJECT_NAME} PRIVATE ${FDIP_INCLUDES})
- target_link_libraries(${PROJECT_NAME} PUBLIC ${FDIP_LIBRARIES})
+ target_link_libraries(${PROJECT_NAME} PRIVATE ${FDIP_LIBRARIES})
endif (FDIP_FOUND)
if (PINKINDEXER_FOUND)
target_include_directories(${PROJECT_NAME} PRIVATE ${PINKINDEXER_INCLUDES})
- target_link_libraries(${PROJECT_NAME} PUBLIC ${PINKINDEXER_LIBRARIES})
+ target_link_libraries(${PROJECT_NAME} PRIVATE ${PINKINDEXER_LIBRARIES})
endif (PINKINDEXER_FOUND)
if (NBP_FOUND)
target_include_directories(${PROJECT_NAME} PRIVATE ${NBP_INCLUDES})
- target_link_libraries(${PROJECT_NAME} PUBLIC ${NBP_LIBRARIES})
+ target_link_libraries(${PROJECT_NAME} PRIVATE ${NBP_LIBRARIES})
endif (NBP_FOUND)
if (FFTW_FOUND)
target_include_directories(${PROJECT_NAME} PRIVATE ${FFTW_INCLUDES})
- target_link_libraries(${PROJECT_NAME} PUBLIC ${FFTW_LIBRARIES})
+ target_link_libraries(${PROJECT_NAME} PRIVATE ${FFTW_LIBRARIES})
endif (FFTW_FOUND)
if (CBF_FOUND)
target_include_directories(${PROJECT_NAME} PRIVATE ${CBF_INCLUDES})
- target_link_libraries(${PROJECT_NAME} PUBLIC ${CBF_LIBRARIES})
+ target_link_libraries(${PROJECT_NAME} PRIVATE ${CBF_LIBRARIES})
endif (CBF_FOUND)
if (CURSES_FOUND)
target_include_directories(${PROJECT_NAME} PRIVATE ${CURSES_INCLUDE_DIRS})
- target_link_libraries(${PROJECT_NAME} PUBLIC ${CURSES_LIBRARIES})
+ target_link_libraries(${PROJECT_NAME} PRIVATE ${CURSES_LIBRARIES})
endif (CURSES_FOUND)
target_compile_options(${PROJECT_NAME} PRIVATE -Wall)