From 488d6780b8dc0c56bb03991ac0e472d7cd0e6708 Mon Sep 17 00:00:00 2001 From: Jonas Stienen Date: Thu, 29 Sep 2016 22:18:23 +0200 Subject: [PATCH] Switching to default dynamic lib build mode by changing base definition behavior. If you do not define anything, you will end up with a shared library, now. --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 444a749..f114de7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -179,10 +179,8 @@ endif( ITA_BASE_WITH_CONFIG_OLD_IMPL AND NOT ITA_BASE_WITH_CONFIG_SIMPLE_INI ) # ITA defaults to shared library build mode, so extra definition is required if you want to build against a static library if( NOT ITA_CORE_LIBS_BUILD_STATIC ) add_definitions( -DITA_BASE_EXPORT ) - message( "Building shared ITABase library" ) else( NOT ITA_CORE_LIBS_BUILD_STATIC ) add_definitions( -DITA_BASE_STATIC ) - message( "Building static ITABase library" ) endif( NOT ITA_CORE_LIBS_BUILD_STATIC ) -- GitLab