summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-platform.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-07-11 05:25:58 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-07-11 05:26:21 +0200
commite573612baa03780683d20edad74e95bdf59c5681 (patch)
tree894fcae70bd5788cce94d8e5dbde96bf5cc82ce7 /cmake/opentrack-platform.cmake
parent8562e190d63710f77bf00b1b2cd7ccde6153eef0 (diff)
cmake: fix build
Diffstat (limited to 'cmake/opentrack-platform.cmake')
-rw-r--r--cmake/opentrack-platform.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake
index 285c07c7..5ad2709c 100644
--- a/cmake/opentrack-platform.cmake
+++ b/cmake/opentrack-platform.cmake
@@ -135,6 +135,7 @@ set_property(GLOBAL PROPERTY USE_FOLDERS OFF)
if(MINGW)
add_definitions(-DMINGW_HAS_SECURE_API)
+ add_definitions(-DSTRSAFE_NO_DEPRECATE)
endif()
# assume binutils