diff options
author | gregory guy <g-gregory@gmx.fr> | 2019-02-16 13:19:07 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-02-18 22:29:50 +0100 |
commit | f349bc9be21b6db0c0416ec9828ac0e23ea83323 (patch) | |
tree | 0eb3eee6e0fc9973c04db0897bb0be526f164da5 /CMakeLists.txt | |
parent | b4d4a134c7be429dba32e29221dd8a529f231b67 (diff) | |
download | dolphin-f349bc9be21b6db0c0416ec9828ac0e23ea83323.tar.gz dolphin-f349bc9be21b6db0c0416ec9828ac0e23ea83323.zip |
fix issue #2, add WITH_ALL_OPTIONS, clean up CMakeLists.txt from libvisual and write config.h.cmake up
Signed-off-by: gregory guy <g-gregory@gmx.fr>
(cherry picked from commit 7c4e6cb6819590d33f6ae66cc92bbf83d2601684)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b2bf44..cdb1c0d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,7 @@ cmake_minimum_required( VERSION 2.8 ) ##### general package setup ##################### project( dolphin ) +set( VERSION R14.1.0 ) ##### include essential cmake modules ########### @@ -40,9 +41,10 @@ include( TDESetupPaths ) tde_setup_paths( ) -##### optional stuff ############################ +##### optional stuff -# option( WITH_LIBVISUAL "Enable libvisual support" OFF ) +option( WITH_ALL_OPTIONS "Enable all optional support" OFF ) +option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} ) ##### user requested modules @@ -59,9 +61,7 @@ include( ConfigureChecks.cmake ) ###### global compiler settings ################# -add_definitions( - -DHAVE_CONFIG_H -) +add_definitions( -DHAVE_CONFIG_H ) set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" ) set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" ) |