Date: Mon, 30 May 2022 15:44:02 GMT From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 79dfde48c0c2 - main - graphics/osg: fix build WITH=DCMTK Message-ID: <202205301544.24UFi2EH058893@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=79dfde48c0c2da0b9d303e4c1615eaf9aa2c200a commit 79dfde48c0c2da0b9d303e4c1615eaf9aa2c200a Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2022-05-30 14:20:34 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2022-05-30 15:40:17 +0000 graphics/osg: fix build WITH=DCMTK Reported by: fluffy --- .../osg/files/patch-src_osgPlugins_dicom_CMakeLists.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/graphics/osg/files/patch-src_osgPlugins_dicom_CMakeLists.txt b/graphics/osg/files/patch-src_osgPlugins_dicom_CMakeLists.txt new file mode 100644 index 000000000000..1f9358d2ac9f --- /dev/null +++ b/graphics/osg/files/patch-src_osgPlugins_dicom_CMakeLists.txt @@ -0,0 +1,16 @@ +--- src/osgPlugins/dicom/CMakeLists.txt.orig 2020-01-31 11:03:07 UTC ++++ src/osgPlugins/dicom/CMakeLists.txt +@@ -1,11 +1,11 @@ + IF (DCMTK_FOUND) + + # note, we have to include a '/' in front of the directory string to prevent a CMake bug from ignoring the directory +- INCLUDE_DIRECTORIES(${DCMTK_INCLUDE_DIRS}) ++ #INCLUDE_DIRECTORIES(${DCMTK_INCLUDE_DIRS}) + + SET(TARGET_SRC ReaderWriterDICOM.cpp ) + +- LINK_LIBRARIES(${DCMTK_LIBRARIES}) ++ LINK_LIBRARIES(DCMTK::DCMTK) + + ADD_DEFINITIONS(-DUSE_DCMTK) +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205301544.24UFi2EH058893>