Skip to content

Commit 5ba2f3b

Browse files
committed
Changed RawToAces to RAWTOACES for install include dir
Signed-off-by: Mikael Sundell <[email protected]>
1 parent 9eeba54 commit 5ba2f3b

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

config/RAWTOACES.pc.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ prefix=@CMAKE_INSTALL_PREFIX@
22
exec_prefix=@INSTALL_BIN_DIR@
33
libdir=@INSTALL_LIB_DIR@
44
includedir=@INSTALL_INCLUDE_DIR@
5-
RAWTOACES_includedir=@INSTALL_INCLUDE_DIR@/RawToAces
5+
RAWTOACES_includedir=@INSTALL_INCLUDE_DIR@/RAWTOACES
66

7-
Name: RawToAces
8-
Description: RawToAces raw image to ACES
7+
Name: RAWTOACES
8+
Description: RAWTOACES raw image to ACES
99
Version: @RAWTOACES_VERSION@
1010
Libs: -L${libdir} -lCeres -lraw -lAcesContainer -lHalf @IlmBase_LDFLAGS@
1111
Cflags: @IlmBase_CFLAGS@ -I${RAWTOACES_includedir}

config/RAWTOACESConfig.cmake.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/modules")
44

5-
# Find dependencies required by RawToAces
5+
# Find dependencies required by RAWTOACES
66
include ( CMakeFindDependencyMacro )
77
find_dependency( Boost REQUIRED COMPONENTS filesystem system )
88
find_dependency( Eigen3 REQUIRED )

src/rawtoaces_idt/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ if (TARGET LibRaw::LibRaw)
3131
target_link_libraries(${RAWTOACESIDTLIB} PUBLIC LibRaw::LibRaw)
3232
else()
3333
if (LibRaw_INCLUDE_DIRS)
34-
target_include_directories(${RAWTOACESIDTLIB}
35-
PUBLIC $<BUILD_INTERFACE:${LibRaw_INCLUDE_DIRS}>
36-
)
34+
target_include_directories(${RAWTOACESIDTLIB} PUBLIC ${LibRaw_INCLUDE_DIRS})
3735
endif()
3836
if (LibRaw_LIBRARY_DIRS)
3937
target_link_directories(${RAWTOACESIDTLIB} PRIVATE ${LibRaw_LIBRARY_DIRS})

src/rawtoaces_util/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if (AcesContainer_FOUND)
3030
if (TARGET AcesContainer::AcesContainer)
3131
target_link_libraries(${RAWTOACESLIB} PRIVATE AcesContainer::AcesContainer)
3232
else()
33-
target_include_directories(${RAWTOACESLIB} PRIVATE $<BUILD_INTERFACE:${AcesContainer_INCLUDE_DIRS}>)
33+
target_include_directories(${RAWTOACESLIB} PRIVATE ${AcesContainer_INCLUDE_DIRS})
3434
target_link_directories(${RAWTOACESLIB} PRIVATE ${AcesContainer_LIBRARY_DIRS})
3535
target_link_libraries(${RAWTOACESLIB} PRIVATE ${AcesContainer_LIBRARIES})
3636
endif()

0 commit comments

Comments
 (0)