commit 93aac793b2dda9296e9c570bf89d6ad7b7bebdd5
parent 900214480ef9a5153bc37172192ea801649f49dc
Author: vaplv <vaplv@free.fr>
Date: Fri, 24 Nov 2017 11:07:49 +0100
Rename the macro used by the static library
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2016 Vincent Forest (vaplv@free.fr)
+# Copyright (C) 2014-2017 Vincent Forest (vaplv@free.fr)
#
# The RSIMD CMake is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -75,7 +75,7 @@ set(RSIMD_FILES_INC ${RSIMD_FILES_INC_LEGACY} ${RSIMD_FILES_INC_SSE})
if(BUILD_STATIC)
add_library(rsimd STATIC ${RSIMD_FILES_INC} ${RSIMD_FILES_SRC})
- set_target_properties(rsimd PROPERTIES COMPILE_DEFINITIONS RSIMD_STATIC)
+ set_target_properties(rsimd PROPERTIES COMPILE_DEFINITIONS RSIMD_STATIC_BUILD)
else(BUILD_STATIC)
add_library(rsimd SHARED ${RSIMD_FILES_INC} ${RSIMD_FILES_SRC})
set_target_properties(rsimd PROPERTIES DEFINE_SYMBOL RSIMD_SHARED_BUILD)