win32 build: default is static libs
git-svn-id: https://libgdf.svn.sourceforge.net/svnroot/libgdf/trunk@73 00a3b082-7228-46c3-a6fa-0e10d54cf57f
Martin Billinger
13 years ago
2 | 2 | |
3 | 3 | option( BUILD_TESTING "Build tests" OFF ) |
4 | 4 | |
5 | set( BUILD_SHARED_LIBS true CACHE BOOL "Wether we shall build shared or dynamic libraries." ) | |
5 | if( WIN32 ) | |
6 | set( BUILD_SHARED_LIBS false CACHE BOOL "Wether we shall build shared or dynamic libraries." ) | |
7 | else( WIN32 ) | |
8 | set( BUILD_SHARED_LIBS true CACHE BOOL "Wether we shall build shared or dynamic libraries." ) | |
9 | endif( WIN32 ) | |
6 | 10 | |
7 | 11 | set( GDF_SOURCE_ROOT ${Project_SOURCE_DIR} ) |
8 | 12 |