From: autoantwort <41973254+autoantwort@users.noreply.github.com> Date: Tue, 7 Feb 2023 00:08:38 +0000 (+0100) Subject: CMake: add missing GNUInstallDirs related substitutions (fixes #1424) (#1456) X-Git-Tag: v2.5.1~23 X-Git-Url: https://git.carlh.net/gitweb/?p=openjpeg.git;a=commitdiff_plain;h=ee58d77047867dd422593163e660e66a109ba1c0 CMake: add missing GNUInstallDirs related substitutions (fixes #1424) (#1456) --- 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()