summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <cdyer@master>2015-07-07 23:23:04 +0000
committerChris Dyer <cdyer@master>2015-07-07 23:23:04 +0000
commit752e978a9cec51cfbb8d8acd9b70b8b21e588ca6 (patch)
treeb8e7a23409f8581b3f78aa5906dabdbdce7db69f
parentdfdb5e013931a3b16ba6f147d4cdc6752aa90bf9 (diff)
fix compile issue on AWS
-rw-r--r--CMakeLists.txt2
-rwxr-xr-xtests/run-system-tests.pl2
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";