aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..a9ef740
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_library(asteroid-compass main.cpp resources.qrc)
+set_target_properties(asteroid-compass PROPERTIES PREFIX "" SUFFIX "")
+
+target_link_libraries(asteroid-compass PUBLIC
+ AsteroidApp)
+
+install(TARGETS asteroid-compass
+ DESTINATION ${CMAKE_INSTALL_BINDIR})