summaryrefslogtreecommitdiffstats
path: root/cmake/Modules/version.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules/version.cmake')
-rw-r--r--cmake/Modules/version.cmake11
1 files changed, 0 insertions, 11 deletions
diff --git a/cmake/Modules/version.cmake b/cmake/Modules/version.cmake
index decb7c568..2fc011ffd 100644
--- a/cmake/Modules/version.cmake
+++ b/cmake/Modules/version.cmake
@@ -1,14 +1,3 @@
-if(${APPLE})
- set(VER_OS darwin)
-elseif(${WIN32})
- set(VER_OS win)
-else()
- set(VER_OS linux)
-endif()
-
-if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
- set(VER_OS win)
-endif()
execute_process(
COMMAND sh ${CMAKE_TOP_SRC_DIR}/scripts/get-version linux
WORKING_DIRECTORY ${CMAKE_TOP_SRC_DIR}