diff options
author | Chris Dyer <cdyer@master> | 2015-07-07 23:23:04 +0000 |
---|---|---|
committer | Chris Dyer <cdyer@master> | 2015-07-07 23:23:04 +0000 |
commit | 752e978a9cec51cfbb8d8acd9b70b8b21e588ca6 (patch) | |
tree | b8e7a23409f8581b3f78aa5906dabdbdce7db69f | |
parent | dfdb5e013931a3b16ba6f147d4cdc6752aa90bf9 (diff) |
fix compile issue on AWS
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rwxr-xr-x | tests/run-system-tests.pl | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f9cbf0d..9ebebf17 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,8 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}) # core packages find_package(LibDL REQUIRED) +set(Boost_NO_SYSTEM_PATHS ON) +set(Boost_REALPATH ON) find_package(Boost COMPONENTS regex filesystem serialization program_options unit_test_framework system thread REQUIRED) include_directories(${Boost_INCLUDE_DIR}) diff --git a/tests/run-system-tests.pl b/tests/run-system-tests.pl index 1e64a004..324763ae 100755 --- a/tests/run-system-tests.pl +++ b/tests/run-system-tests.pl @@ -8,7 +8,7 @@ my $TEMP_DIR = tempdir( CLEANUP => 1 ); #my $cwd = cwd(); #die "Sanity failed: $cwd" unless -d $cwd; -my $DECODER = "$script_dir/../build/decoder/cdec"; +my $DECODER = "$script_dir/../decoder/cdec"; my $FILTER = "$script_dir/tools/filter-stderr.pl"; my $COMPARE_STATS = "$script_dir/tools/compare-statistics.pl"; my $XDIFF = "$script_dir/tools/flex-diff.pl"; |