Skip to content

Commit

Permalink
cmake: roi${SUFFIX} should depend on a suffix'ed viewmanager (#1166)
Browse files Browse the repository at this point in the history
  • Loading branch information
madebr authored Nov 23, 2024
1 parent 0aa5e01 commit 2d9ab43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function(add_lego_libraries NAME)
list(APPEND list_targets roi${ARG_SUFFIX})
set_property(TARGET roi${ARG_SUFFIX} PROPERTY ARCHIVE_OUTPUT_NAME "roi$<$<CONFIG:Debug>:d>${ARG_SUFFIX}")
target_include_directories(roi${ARG_SUFFIX} PRIVATE "${PROJECT_SOURCE_DIR}/LEGO1/omni/include" "${PROJECT_SOURCE_DIR}/LEGO1" "${PROJECT_SOURCE_DIR}/LEGO1/lego/sources" "${PROJECT_SOURCE_DIR}/util")
target_link_libraries(roi${ARG_SUFFIX} PRIVATE viewmanager Vec::Vec)
target_link_libraries(roi${ARG_SUFFIX} PRIVATE viewmanager${ARG_SUFFIX} Vec::Vec)

add_library(geom${ARG_SUFFIX} STATIC
LEGO1/lego/sources/geom/legobox.cpp
Expand Down

0 comments on commit 2d9ab43

Please sign in to comment.