diff options
author | Antenore Gatta <antenore@simbiosi.org> | 2014-07-17 23:52:20 +0400 |
---|---|---|
committer | Antenore Gatta <antenore@simbiosi.org> | 2014-07-17 23:52:20 +0400 |
commit | 4b715397dad0a4027fb6e77f6673ca2ae2b8e35f (patch) | |
tree | ad49635bad091897aab703e7bfddb3cfee5a29bc /CMakeLists.txt | |
parent | a693b177b79e912b194afca257428722285cbd06 (diff) |
Pull requests and segfault
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c5330a8c..02ec63818 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,9 @@ # Boston, MA 02111-1307, USA. cmake_minimum_required(VERSION 2.8) + set(CMAKE_COLOR_MAKEFILE ON) + project(Remmina C) include(CheckIncludeFiles) @@ -41,9 +43,11 @@ if(NOT BUILD_SHARED_LIBS) endif() if(CMAKE_COMPILER_IS_GNUCC) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse2") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") + if(WITH_SSE2) + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse2") + endif() CHECK_C_COMPILER_FLAG(-Wno-unused-result Wno-unused-result) if(Wno-unused-result) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-unused-result") @@ -75,9 +79,9 @@ include_directories(remmina/include) # Versioning set(WITH_LIBRARY_VERSIONING "ON") set(REMMINA_VERSION_MAJOR "1") -set(REMMINA_VERSION_MINOR "2") +set(REMMINA_VERSION_MINOR "0") set(REMMINA_VERSION_REVISION "0") -set(REMMINA_VERSION_SUFFIX "beta1") +set(REMMINA_VERSION_SUFFIX "release") set(REMMINA_VERSION "${REMMINA_VERSION_MAJOR}.${REMMINA_VERSION_MINOR}.${REMMINA_VERSION_REVISION}") set(REMMINA_DATADIR "${CMAKE_INSTALL_FULL_DATADIR}") |