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
commit5eb2eb6693340c14766876bce705e3adb8733796 (patch)
tree83cfcfa8ed25893126a84a2b6a3093960ba6995f /decoder/CMakeLists.txt
parent42e6a2888f986b062c6391b6bef6ef817c6b8a68 (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)