projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #165 from esainane/coreinfo-dirty-status
[quassel.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
7268dac
..
f5ca780
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-131,6
+131,11
@@
if (CMAKE_MAJOR_VERSION GREATER 2)
cmake_policy(SET CMP0043 OLD)
endif()
cmake_policy(SET CMP0043 OLD)
endif()
+# Honor visibility settings for all target types
+if (CMAKE_VERSION VERSION_GREATER 3.3)
+ cmake_policy(SET CMP0063 NEW)
+endif()
+
# Simplify later checks
#####################################################################
# Simplify later checks
#####################################################################
@@
-231,7
+236,7
@@
if (USE_QT5)
PURPOSE "Enable support for the snorenotify framework"
)
endif()
PURPOSE "Enable support for the snorenotify framework"
)
endif()
-
+
if (WITH_WEBKIT)
find_package(Qt5WebKit QUIET)
if (WITH_WEBKIT)
find_package(Qt5WebKit QUIET)
@@
-575,7
+580,7
@@
endif()
include(GetGitRevisionDescription)
get_git_head_revision(GIT_REFSPEC GIT_HEAD)
include(GetGitRevisionDescription)
get_git_head_revision(GIT_REFSPEC GIT_HEAD)
-git_describe(GIT_DESCRIBE --long)
+git_describe(GIT_DESCRIBE --long
--dirty
)
# If not in a Git repo try to read GIT_HEAD and GIT_DESCRIBE from
# enviroment
# If not in a Git repo try to read GIT_HEAD and GIT_DESCRIBE from
# enviroment