This means any targets that use voglcore will automatically get pthread
include during linking. So we don't need to specify pthread in targets
that don't explicitly use them.
voglcommon
dl
X11
- pthread
voglcore
rt
)
endif()
add_library(${PROJECT_NAME} ${SRC_LIST})
-target_link_libraries(${PROJECT_NAME} rt)
+target_link_libraries(${PROJECT_NAME}
+ pthread
+ rt
+ )
build_options_finalize()
target_link_libraries(${PROJECT_NAME}
voglcore
- pthread
)
build_options_finalize()
backtrace
voglcommon
dl
- pthread
voglcore
rt
)
target_link_libraries(${PROJECT_NAME}
voglcore
- pthread
X11
${VOGLTEST_OPENGL_LIBRARY}
dl