summaryrefslogtreecommitdiff
path: root/decoder/CMakeLists.txt
diff options
context:
space:
mode:
authorChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2015-03-05 00:14:16 -0500
committerChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2015-03-05 00:14:16 -0500
commit55b75d9f94a36de2d3f7eb9eb132b8286ddd2723 (patch)
tree9632f7b32159b69a0ac12fd55ddf4963ec4874bc /decoder/CMakeLists.txt
parentd99c7b9593e5f0c4a408302b82e7bfeaeee665bc (diff)
deal with possible RT lib dependency
Diffstat (limited to 'decoder/CMakeLists.txt')
-rw-r--r--decoder/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/decoder/CMakeLists.txt b/decoder/CMakeLists.txt
index f7683887..ac07e9fe 100644
--- a/decoder/CMakeLists.txt
+++ b/decoder/CMakeLists.txt
@@ -3,10 +3,10 @@ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../mteval)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../klm)
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..)
-set(CMAKE_POSITION_INDEPENDENT_CODE ON)
-
PROJECT(decoder C CXX)
+set(CMAKE_POSITION_INDEPENDENT_CODE ON)
+
find_package(FLEX REQUIRED)
FLEX_TARGET(RuleLexer rule_lexer.ll ${CMAKE_CURRENT_BINARY_DIR}/rule_lexer.cc)