We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a2351d commit aa12ffdCopy full SHA for aa12ffd
libs/io/session/CMakeLists.txt
@@ -1,7 +1,6 @@
1
sight_add_target(io_session TYPE LIBRARY OBJECT_LIBRARY ON)
2
3
if(MSVC)
4
- find_package(NIFTI COMPONENTS nifti2 niftiio REQUIRED)
5
target_link_libraries(${SIGHT_TARGET}_obj PRIVATE NIFTI::niftiio NIFTI::nifti2)
6
else()
7
# NIFTI official cmake configuration files from Debian/Ubuntu are broken: they reference the wrong path
libs/io/session/Dependencies.cmake
@@ -0,0 +1,3 @@
+if(MSVC)
+ find_package(NIFTI COMPONENTS nifti2 niftiio REQUIRED)
+endif()
0 commit comments