Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Commit

Permalink
Merge branch 'jb46923' into 'master'
Browse files Browse the repository at this point in the history
[statefs] Add missing thread library linking to fix build. Contributes to JB#46923

See merge request mer-core/statefs!4
  • Loading branch information
pvuorela committed Sep 2, 2019
2 parents ef73da6 + d188df3 commit 75fe6ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/src/CMakeLists.txt
Expand Up @@ -8,7 +8,9 @@ target_link_libraries(example_power
install(TARGETS example_power DESTINATION ${DST_LIB}/statefs)

add_library(example_statefspp SHARED example_statefspp.cpp)
target_link_libraries(example_statefspp statefs-pp)
target_link_libraries(example_statefspp statefs-pp
${CMAKE_THREAD_LIBS_INIT}
)
install(TARGETS example_statefspp DESTINATION ${DST_LIB}/statefs)

set(POWER_SRC basic.c)
Expand Down

0 comments on commit 75fe6ee

Please sign in to comment.