Skip to content

Commit 1804704

Browse files
committed
fix build
Signed-off-by: Anton Dukhovnikov <[email protected]>
1 parent 808b2e9 commit 1804704

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/rawtoaces/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,6 @@ add_executable( rawtoaces
77

88
set_property(TARGET rawtoaces PROPERTY CXX_STANDARD 17)
99

10-
target_include_directories( rawtoaces
11-
PUBLIC
12-
${AcesContainer_INCLUDE_DIRS}
13-
)
14-
1510
target_link_libraries ( rawtoaces
1611
PUBLIC
1712
${RAWTOACESLIB}

src/rawtoaces_util/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ set_property(TARGET ${RAWTOACESLIB} PROPERTY CXX_STANDARD 17)
1212

1313
if ( AcesContainer_FOUND )
1414
target_include_directories ( ${RAWTOACESLIB} PRIVATE ${AcesContainer_INCLUDE_DIRS} )
15-
target_link_directories ( ${RAWTOACESLIB} PUBLIC ${AcesContainer_LIBRARY_DIRS} )
15+
target_link_directories ( ${RAWTOACESLIB} PRIVATE ${AcesContainer_LIBRARY_DIRS} )
1616
target_link_libraries ( ${RAWTOACESLIB}
1717
PRIVATE
1818
${AcesContainer_LIBRARIES}
@@ -33,6 +33,7 @@ target_link_libraries ( ${RAWTOACESLIB}
3333
if ( LIBRAW_CONFIG_FOUND )
3434
target_link_libraries ( ${RAWTOACESLIB} PUBLIC libraw::raw )
3535
else ()
36+
target_include_directories(${RAWTOACESLIB} PUBLIC ${libraw_INCLUDE_DIR}/..)
3637
target_link_directories(${RAWTOACESLIB} PUBLIC ${libraw_LIBRARY_DIRS} )
3738
target_link_libraries(${RAWTOACESLIB} PUBLIC ${libraw_LIBRARIES} ${libraw_LDFLAGS_OTHER} )
3839
endif ()

0 commit comments

Comments
 (0)