diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-07-11 13:25:16 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-07-11 13:25:16 +0200 |
commit | 5f9494fa021582f725fed487162cdb043c607a50 (patch) | |
tree | 98a137d5bf20f6bc92a3210d21d31793d3191b1c | |
parent | b4987cedd591e43d1b5f77f93a8ff748f0b21ca6 (diff) |
dedup cpp define
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | ftnoir_tracker_base/ftnoir_tracker_base_global.h | 2 |
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 |