From 66b43c9a69fdb048d8be1ee4a4b5308cb9d28af4 Mon Sep 17 00:00:00 2001 From: Alban <7930348+afichet@users.noreply.github.com> Date: Wed, 5 May 2021 23:12:54 +0200 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c05ce94..3882458 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -99,7 +99,7 @@ target_include_directories(openexr-viewer PRIVATE src) target_include_directories(openexr-viewer PRIVATE 3rdparty/data) target_link_libraries(openexr-viewer PRIVATE Qt${QT_VERSION_MAJOR}::Widgets) -target_link_libraries(openexr-viewer PRIVATE ${OpenEXR_LIBRARIES}) +target_link_libraries(openexr-viewer PRIVATE Imath::Imath OpenEXR::OpenEXR) if((OpenMP_CXX_FOUND) OR (OpenMP_FOUND)) target_link_libraries(openexr-viewer PRIVATE OpenMP::OpenMP_CXX)