Build intermediate EtcLib always as STATIC

Depending on the BUILD_SHARED_LIBS variable EtcLib may be built as SHARED
if not set explicitly, like done for the other libraries in extern.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
This commit is contained in:
Stefan Brüns 2018-02-02 19:45:18 +01:00
parent 8e8b3b82e1
commit 7b4b7bb42e

View File

@ -21,4 +21,4 @@ file(GLOB SOURCES
${PROJECT_SOURCE_DIR}/EtcCodec/*.h
${PROJECT_SOURCE_DIR}/Etc/*.cpp
${PROJECT_SOURCE_DIR}/EtcCodec/*.cpp)
ADD_LIBRARY(EtcLib ${SOURCES})
ADD_LIBRARY(EtcLib STATIC ${SOURCES})