forked from Lainports/freebsd-ports
Use TIFF:tiff to define the library instead of ${TIFF_LIBRARY}
PR: 281747
Approved by: portmgr (blanket, build fix)
28 lines
1.1 KiB
Text
28 lines
1.1 KiB
Text
--- mandelbulber2/cmake/CMakeLists.txt.orig 2024-08-23 15:11:23 UTC
|
|
+++ mandelbulber2/cmake/CMakeLists.txt
|
|
@@ -41,6 +41,7 @@ find_package(Qt5Concurrent REQUIRED)
|
|
find_package(Qt5Test REQUIRED)
|
|
find_package(Qt5Multimedia REQUIRED)
|
|
find_package(Qt5Concurrent REQUIRED)
|
|
+find_package(Qt5Qml REQUIRED)
|
|
|
|
# Find other required libraries.
|
|
find_package(PNG REQUIRED)
|
|
@@ -90,7 +91,7 @@ add_executable(mandelbulber2 WIN32
|
|
${SOURCE_FILES} ${ADDITIONAL_EXECUTABLE} ${qt_UI_H})
|
|
|
|
# Link qt libraries.
|
|
-qt5_use_modules(mandelbulber2 Core Widgets Network Gui UiTools Test Multimedia)
|
|
+qt5_use_modules(mandelbulber2 Core Widgets Network Gui UiTools Test Multimedia Concurrent Qml)
|
|
|
|
# Link other required libraries.
|
|
include_directories(${PNG_INCLUDE_DIR} ${GSL_INCLUDE_DIRS} ${LZO_INCLUDE_DIR})
|
|
@@ -99,7 +100,7 @@ IF(TIFF_FOUND)
|
|
# Link other optional libraries and set corresponding flag definitions .
|
|
IF(TIFF_FOUND)
|
|
include_directories(${TIFF_INCLUDE_DIR})
|
|
- target_link_libraries(mandelbulber2 ${TIFF_LIBRARY})
|
|
+ target_link_libraries(mandelbulber2 TIFF::tiff)
|
|
add_definitions(-DUSE_TIFF)
|
|
ENDIF()
|
|
|