From afece35e60704409f7ef80605bfcd6bace48db92 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 15 Nov 2017 17:10:02 +0100 Subject: [PATCH] minor cleanups --- CMakeLists.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4c182762..f4e02f49 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,13 +3,15 @@ # author: Gunther Laure # -cmake_minimum_required (VERSION 3.6) +cmake_minimum_required(VERSION 3.6) project(arabica) -set(LIB_NAME arabica) +# Enable C++11 support set(CMAKE_CXX_STANDARD 11) +set(LIB_NAME arabica) + # # Build as shared library # @@ -46,8 +48,7 @@ endif() # # Enable target folders in Visual Studio and other IDEs -set_property(GLOBAL - PROPERTY USE_FOLDERS ON) +set_property(GLOBAL PROPERTY USE_FOLDERS ON) # # Set the used xml backend @@ -420,7 +421,7 @@ if(MSVC) # link socket library in windows target_link_libraries(${LIB_NAME} ws2_32.lib - ) + ) endif()