Skip to content

Commit 35999a5

Browse files
committed
Fix compilation of third party project
Fixes: -- Configuring done CMake Error in Modules/ThirdParty/GDCM/src/CMakeLists.txt: Imported target "gdcmMSFF" includes non-existent path "/opt/tools/gdcm-install/usr/include/gdcmopenjpeg-2.3" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide.
1 parent 2d66f14 commit 35999a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Utilities/gdcmopenjpeg/src/lib/openjp2/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ elseif(BUILD_SHARED_LIBS AND BUILD_STATIC_LIBS)
107107
target_include_directories(openjp2_static PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/${OPENJPEG_INSTALL_SUBDIR}>)
108108
endif()
109109

110-
target_include_directories(${OPENJPEG_LIBRARY_NAME} PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/${OPENJPEG_INSTALL_SUBDIR}>)
110+
#target_include_directories(${OPENJPEG_LIBRARY_NAME} PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/${OPENJPEG_INSTALL_SUBDIR}>)
111111
if(UNIX)
112112
target_link_libraries(${OPENJPEG_LIBRARY_NAME} m)
113113
endif()

0 commit comments

Comments
 (0)