summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 06af497..1944037 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.1)
project(oniguruma
- VERSION 6.9.6
+ VERSION 6.9.7
LANGUAGES C)
set(PACKAGE onig)
@@ -100,6 +100,12 @@ if(MSVC)
$<$<CONFIG:RelWithDebgInfo>:/MTd>
)
endif()
+ if(MSVC_VERSION LESS_EQUAL "1800")
+ # <= VS2013
+ target_compile_definitions(onig PRIVATE
+ -Dinline=__inline
+ )
+ endif()
elseif(CMAKE_COMPILER_IS_GNUCC)
target_compile_options(onig PRIVATE
-Wall