summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-13 05:46:14 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-13 05:46:14 +0200
commit46534687e13f55d15ac2fa076c921fbab313d92b (patch)
tree2b413c119354b651d0901fe5c80e8ca4ec957223
parent351e844f6a3c5484acfcf4fb0154bcab6f1780a0 (diff)
stupido counterattacks
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 927e8aec..2e030991 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -36,9 +36,9 @@ if(NOT SDK_FACEAPI_ONLY)
find_package(OpenGL REQUIRED)
if(WIN32 AND NOT CMAKE_COMPILER_IS_GNUCC)
- add_definitions(/D FTNOIR_FILTER_BASE_LIB /D FTNOIR_TRACKER_BASE_LIB /D FTNOIR_PROTOCOL_BASE_LIB)
+ add_definitions(/D FTNOIR_FILTER_BASE_LIB /D FTNOIR_TRACKER_BASE_LIB /D FTNOIR_PROTOCOL_BASE_LIB /D_CRT_SECURE_NO_WARNINGS)
else(MSVC)
- add_definitions(-DFTNOIR_FILTER_BASE_LIB -DFTNOIR_TRACKER_BASE_LIB -DFTNOIR_PROTOCOL_BASE_LIB -D_CRT_SECURE_NO_WARNINGS)
+ add_definitions(-DFTNOIR_FILTER_BASE_LIB -DFTNOIR_TRACKER_BASE_LIB -DFTNOIR_PROTOCOL_BASE_LIB)
endif(WIN32 AND NOT CMAKE_COMPILER_IS_GNUCC)
if(NOT WIN32)