aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAndreas Grois <andreas.grois@jku.at>2015-11-03 17:08:17 +0100
committerAndreas Grois <andreas.grois@jku.at>2015-11-03 17:08:17 +0100
commitd1d98f27fd45d044b3a5d8d44ff3c7b9750e5887 (patch)
tree06ca674f92638fe6b509ffdc9938e018d9ce7525 /CMakeLists.txt
parent2fbb42870e240bcb1268ddf1a1c7a7d0dd33babd (diff)
Github... I'm not yet used to it.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fed0808..5d66358 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,11 @@
-project(SuperiorLatticeMatch)
+project(LatticeMatch)
cmake_minimum_required(VERSION 2.8)
aux_source_directory(. SRC_LIST)
add_executable(${PROJECT_NAME} ${SRC_LIST})
+SET(CMAKE_CXX_FLAGS "-Wall ${CMAKE_CXX_FLAGS}")
+SET(CMAKE_CXX_FLAGS_DEBUG "-Wall ${CMAKE_CXX_FLAGS_DEBUG}")
+
+IF(UNIX)
+ TARGET_LINK_LIBRARIES(${PROJECT_NAME} m)
+ENDIF(UNIX)