summarylogtreecommitdiffstats
path: root/archlinux.patch
blob: bdd08523f8329a7df56f73eb1d41de7395650d99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9e8319e..f41236e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,8 @@
 PROJECT(iDSK)
 
+set(CMAKE_CXX_FLAGS "-std=c++14")
+set(CMAKE_INSTALL_PREFIX "/usr/")
+
 add_executable(iDSK
 	src/Basic.cpp
 	src/BitmapCPC.cpp
@@ -13,3 +16,5 @@ add_executable(iDSK
 	src/ViewFile.cpp
 	src/Ascii.cpp
 )
+
+install(TARGETS iDSK DESTINATION ${CMAKE_INSTALL_BINDIR})