summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-07-11 13:25:16 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-07-11 13:25:16 +0200
commit5f9494fa021582f725fed487162cdb043c607a50 (patch)
tree98a137d5bf20f6bc92a3210d21d31793d3191b1c
parentb4987cedd591e43d1b5f77f93a8ff748f0b21ca6 (diff)
dedup cpp define
-rw-r--r--CMakeLists.txt2
-rw-r--r--ftnoir_tracker_base/ftnoir_tracker_base_global.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7bf0f201..cbab479b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,8 +26,6 @@ if(CMAKE_COMPILER_IS_GNUCXX AND NOT APPLE)
endif()
endif()
-add_definitions(-DOPENTRACK_MAIN)
-
if(APPLE)
set(apple-frameworks "-stdlib=libc++ -framework Cocoa -framework CoreFoundation -lobjc -lz -framework Carbon")
set(CMAKE_SHARED_LINKER_FLAGS " ${apple-frameworks} ${CMAKE_SHARED_LINKER_FLAGS}")
diff --git a/ftnoir_tracker_base/ftnoir_tracker_base_global.h b/ftnoir_tracker_base/ftnoir_tracker_base_global.h
index df793f30..6d6a1918 100644
--- a/ftnoir_tracker_base/ftnoir_tracker_base_global.h
+++ b/ftnoir_tracker_base/ftnoir_tracker_base_global.h
@@ -4,7 +4,7 @@
#include <QtGlobal>
#ifndef FTNOIR_TRACKER_BASE_EXPORT
-# ifdef OPENTRACK_MAIN
+# ifdef IN_OPENTRACK
# if !defined(_MSC_VER)
# define FTNOIR_TRACKER_BASE_EXPORT __attribute__ ((visibility ("default"))) Q_DECL_EXPORT
# else