Skip to content

Commit

Permalink
Fix sio build issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
tclarke committed Jun 16, 2021
1 parent a4963c5 commit 272cdf9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Code/application/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ find_package(shapelib REQUIRED)
find_package(tiff REQUIRED)
find_package(geotiff REQUIRED)
find_package(proj REQUIRED)
find_package(Eigen3 REQUIRED NO_MODULE)

#----- Optional packages -----
# ffmpeg packages for MovieExporter plugin
Expand Down
3 changes: 2 additions & 1 deletion Code/application/PlugIns/src/Sio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ set (SOURCE_FILES
Sio.cpp
SioImporter.cpp
)
include_directories(${Opticks_INCLUDE_DIRS})
include_directories(${Opticks_INCLUDE_DIRS} ${Boost_INCLUDE_DIR})
add_library(Sio SHARED ${SOURCE_FILES} ${HEADER_FILES})
target_link_libraries(Sio
${Opticks_LIBRARIES}
${Xerces_LIBRARIES}
Eigen3::Eigen
)
if(WIN32)
install(TARGETS Sio RUNTIME DESTINATION PlugIns CONFIGURATIONS Release;RelWithDebInfo;MinSizeRel)
Expand Down

0 comments on commit 272cdf9

Please sign in to comment.