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:
parent
8e8b3b82e1
commit
7b4b7bb42e
2
extern/EtcLib/CMakeLists.txt
vendored
2
extern/EtcLib/CMakeLists.txt
vendored
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user