diff options
| author | agadoul <agadoul@outlook.com> | 2017-01-30 14:35:38 +0100 |
|---|---|---|
| committer | agadoul <agadoul@outlook.com> | 2017-01-30 14:35:38 +0100 |
| commit | 798ae24d96edba63917a769ec196e555385af4dc (patch) | |
| tree | 07ed0883f601d6b1bf5435157665f1febe424b74 | |
| parent | 9e34484cbe2e9de1deb16cd2ca4e1faea456aa77 (diff) | |
| download | vcpkg-798ae24d96edba63917a769ec196e555385af4dc.tar.gz vcpkg-798ae24d96edba63917a769ec196e555385af4dc.zip | |
use induced library type.
| -rw-r--r-- | ports/lcms/CMakeLists.txt | 9 |
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 ) |
