From ee58d77047867dd422593163e660e66a109ba1c0 Mon Sep 17 00:00:00 2001 From: autoantwort <41973254+autoantwort@users.noreply.github.com> Date: Tue, 7 Feb 2023 01:08:38 +0100 Subject: [PATCH] CMake: add missing GNUInstallDirs related substitutions (fixes #1424) (#1456) --- src/lib/openjp2/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/openjp2/CMakeLists.txt b/src/lib/openjp2/CMakeLists.txt index e65cb9d1..f92044e8 100644 --- a/src/lib/openjp2/CMakeLists.txt +++ b/src/lib/openjp2/CMakeLists.txt @@ -98,14 +98,14 @@ else() add_library(openjp2_static STATIC ${OPENJPEG_SRCS}) set_target_properties(openjp2_static PROPERTIES OUTPUT_NAME ${OPENJPEG_LIBRARY_NAME}) set(INSTALL_LIBS ${OPENJPEG_LIBRARY_NAME} openjp2_static) - target_include_directories(openjp2_static PUBLIC $) + target_include_directories(openjp2_static PUBLIC $) else() add_library(${OPENJPEG_LIBRARY_NAME} ${OPENJPEG_SRCS}) set(INSTALL_LIBS ${OPENJPEG_LIBRARY_NAME}) endif() endif() -target_include_directories(${OPENJPEG_LIBRARY_NAME} PUBLIC $) +target_include_directories(${OPENJPEG_LIBRARY_NAME} PUBLIC $) if(UNIX) target_link_libraries(${OPENJPEG_LIBRARY_NAME} m) endif() -- 2.30.2