File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ find_package(ZLIB REQUIRED)
7676
7777include_directories (${XTENSOR_INCLUDE_DIR} )
7878include_directories (${XTENSOR_IO_INCLUDE_DIR} )
79- include_directories (${OIIO_INCLUDE_DIR } )
80- include_directories (${ZLIB_INCLUDE_DIR } )
79+ include_directories (${OIIO_INCLUDE_DIRS } )
80+ include_directories (${ZLIB_INCLUDE_DIRS } )
8181include_directories (${xtl_INCLUDE_DIRS} )
8282include_directories (${GTEST_INCLUDE_DIRS} )
8383
@@ -108,11 +108,16 @@ add_executable(${XTENSOR_IO_TARGET} ${XTENSOR_IO_TESTS} ${XTENSOR_IO_HEADERS})
108108if (DOWNLOAD_GTEST OR GTEST_SRC_DIR)
109109 add_dependencies (${XTENSOR_IO_TARGET} gtest_main)
110110endif ()
111+
112+ message ("OIIO_LIBRARIES: ${OIIO_LIBRARIES} " )
113+
111114target_link_libraries (${XTENSOR_IO_TARGET}
112- ${OIIO_LIBRARIES}
113115 ${ZLIB_LIBRARIES}
116+ ${OIIO_LIBRARIES}
117+ ${CMAKE_DL_LIBS}
114118 ${GTEST_BOTH_LIBRARIES}
115- ${CMAKE_THREAD_LIBS_INIT} )
119+ ${CMAKE_THREAD_LIBS_INIT}
120+ )
116121
117122add_custom_target (xtest
118123 COMMAND test_xtensor_io
You can’t perform that action at this time.
0 commit comments