From 752e978a9cec51cfbb8d8acd9b70b8b21e588ca6 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Tue, 7 Jul 2015 23:23:04 +0000 Subject: fix compile issue on AWS --- CMakeLists.txt | 2 ++ tests/run-system-tests.pl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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"; -- cgit v1.2.3