Make sure helper libraries get built as static libs

Make sure helper libraries get built as static libs regardless
of the cmake version being used.

This fixes issue 217.

Signed-off-by: Bernhard Rosenkränzer <bero@lindev.ch>
This commit is contained in:
Bernhard Rosenkränzer 2017-05-04 15:44:37 +02:00
commit ee4d0b9c49
10 changed files with 12 additions and 9 deletions

View file

@ -28,6 +28,6 @@ set(COMMON_SOURCES
thread_unittest.cpp
unique_integer_map.h)
add_library(emugl_common ${COMMON_SOURCES})
add_library(emugl_common STATIC ${COMMON_SOURCES})
target_link_libraries(emugl_common
dl pthread)