File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,6 @@ add_executable( rawtoaces
77
88set_property (TARGET rawtoaces PROPERTY CXX_STANDARD 17)
99
10- target_include_directories ( rawtoaces
11- PUBLIC
12- ${AcesContainer_INCLUDE_DIRS}
13- )
14-
1510target_link_libraries ( rawtoaces
1611 PUBLIC
1712 ${RAWTOACESLIB}
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ set_property(TARGET ${RAWTOACESLIB} PROPERTY CXX_STANDARD 17)
1212
1313if ( 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}
3333if ( LIBRAW_CONFIG_FOUND )
3434 target_link_libraries ( ${RAWTOACESLIB} PUBLIC libraw::raw )
3535else ()
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} )
3839endif ()
You can’t perform that action at this time.
0 commit comments