Skip to content

Commit

Permalink
Fix: rec_addon_dummy finds and links threads. (#938)
Browse files Browse the repository at this point in the history
  • Loading branch information
KerstinKeller authored and FlorianReimold committed Jan 12, 2023
1 parent 7f58788 commit de39807
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/rec/rec_addon_dummy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# limitations under the License.
#
# ========================= eCAL LICENSE =================================
find_package(Threads REQUIRED)

project(rec_addon_dummy)

Expand All @@ -24,7 +25,11 @@ set(source_files src/recorder_impl.cpp
ecal_add_rec_addon(${PROJECT_NAME} ${source_files})

target_include_directories(${PROJECT_NAME} PRIVATE src)
target_link_libraries(${PROJECT_NAME} PRIVATE eCAL::rec_addon_core)
target_link_libraries(${PROJECT_NAME}
PRIVATE
eCAL::rec_addon_core
Threads::Threads
)
target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_14)

set_target_properties(${PROJECT_NAME} PROPERTIES FOLDER app/rec)

0 comments on commit de39807

Please sign in to comment.