aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/lcms/CMakeLists.txt9
1 files changed, 1 insertions, 8 deletions
diff --git a/ports/lcms/CMakeLists.txt b/ports/lcms/CMakeLists.txt
index 85807a0b9..ccb8b6f5a 100644
--- a/ports/lcms/CMakeLists.txt
+++ b/ports/lcms/CMakeLists.txt
@@ -4,11 +4,6 @@ project(lcms)
option(SHARED_LIBRARY "use shared library" ON)
-set(LIBRARY_TYPE STATIC)
-if(SHARED_LIBRARY)
- set(LIBRARY_TYPE SHARED)
-endif(SHARED_LIBRARY)
-
set(SRCS
"src/cmstypes.c"
"src/cmsvirt.c"
@@ -47,9 +42,7 @@ include_directories(
"./include"
)
-add_library(lcms ${LIBRARY_TYPE}
-${SRCS}
-)
+add_library(lcms ${SRCS})
if(NOT SKIP_INSTALL_HEADERS AND NOT SKIP_INSTALL_ALL )