summaryrefslogtreecommitdiffhomepage
path: root/gui/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-11-01 08:19:00 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-11-01 08:49:12 +0100
commitf14becff3653fa71911303fb0898a5d5a9cdfe95 (patch)
treea4fb1db70720f4fdf3a3ef7d515683c7e8bfc083 /gui/CMakeLists.txt
parent882dae825773963ef44bfee61ca990fddbb94d02 (diff)
qxt-mini: make own module
Diffstat (limited to 'gui/CMakeLists.txt')
-rw-r--r--gui/CMakeLists.txt12
1 files changed, 0 insertions, 12 deletions
diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt
index 19e98571..f483f695 100644
--- a/gui/CMakeLists.txt
+++ b/gui/CMakeLists.txt
@@ -14,22 +14,10 @@ opentrack_qt(opentrack)
add_executable(opentrack ${opentrack-win32-executable} ${opentrack-all})
opentrack_compat(opentrack)
-
-if(UNIX OR APPLE)
- target_include_directories(opentrack PRIVATE "${CMAKE_SOURCE_DIR}/qxt-mini")
- opentrack_library(opentrack-qxt-mini ${CMAKE_SOURCE_DIR}/qxt-mini NO-LINKER-SCRIPT NO-COMPAT)
- if(NOT APPLE)
- target_link_libraries(opentrack-qxt-mini X11)
- endif()
-endif()
-
if(NOT WIN32)
set_target_properties(opentrack PROPERTIES SUFFIX ".bin")
endif()
target_link_libraries(opentrack opentrack-api opentrack-version opentrack-pose-widget opentrack-spline-widget)
-if(APPLE)
- SET_TARGET_PROPERTIES(opentrack-qxt-mini PROPERTIES LINK_FLAGS "-framework Carbon -framework CoreFoundation")
-endif()
if(UNIX OR APPLE)
target_link_libraries(opentrack opentrack-qxt-mini)
endif()