Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Dukhovnikov <[email protected]>
  • Loading branch information
antond-weta committed Feb 11, 2025
1 parent 808b2e9 commit 1804704
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/rawtoaces/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ add_executable( rawtoaces

set_property(TARGET rawtoaces PROPERTY CXX_STANDARD 17)

target_include_directories( rawtoaces
PUBLIC
${AcesContainer_INCLUDE_DIRS}
)

target_link_libraries ( rawtoaces
PUBLIC
${RAWTOACESLIB}
Expand Down
3 changes: 2 additions & 1 deletion src/rawtoaces_util/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set_property(TARGET ${RAWTOACESLIB} PROPERTY CXX_STANDARD 17)

if ( AcesContainer_FOUND )
target_include_directories ( ${RAWTOACESLIB} PRIVATE ${AcesContainer_INCLUDE_DIRS} )
target_link_directories ( ${RAWTOACESLIB} PUBLIC ${AcesContainer_LIBRARY_DIRS} )
target_link_directories ( ${RAWTOACESLIB} PRIVATE ${AcesContainer_LIBRARY_DIRS} )
target_link_libraries ( ${RAWTOACESLIB}
PRIVATE
${AcesContainer_LIBRARIES}
Expand All @@ -33,6 +33,7 @@ target_link_libraries ( ${RAWTOACESLIB}
if ( LIBRAW_CONFIG_FOUND )
target_link_libraries ( ${RAWTOACESLIB} PUBLIC libraw::raw )
else ()
target_include_directories(${RAWTOACESLIB} PUBLIC ${libraw_INCLUDE_DIR}/..)
target_link_directories(${RAWTOACESLIB} PUBLIC ${libraw_LIBRARY_DIRS} )
target_link_libraries(${RAWTOACESLIB} PUBLIC ${libraw_LIBRARIES} ${libraw_LDFLAGS_OTHER} )
endif ()
Expand Down

0 comments on commit 1804704

Please sign in to comment.