diff options
author | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2015-03-05 00:14:16 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2015-03-05 00:14:16 -0500 |
commit | 55b75d9f94a36de2d3f7eb9eb132b8286ddd2723 (patch) | |
tree | 9632f7b32159b69a0ac12fd55ddf4963ec4874bc /decoder/CMakeLists.txt | |
parent | d99c7b9593e5f0c4a408302b82e7bfeaeee665bc (diff) |
deal with possible RT lib dependency
Diffstat (limited to 'decoder/CMakeLists.txt')
-rw-r--r-- | decoder/CMakeLists.txt | 4 |
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) |