From 1cbed86a4e1db28b13817fe6d3a6143d482b736d Mon Sep 17 00:00:00 2001 From: Stefan Radomski Date: Fri, 18 Oct 2013 18:55:50 +0200 Subject: Reminder to export PATH and small bug-fix --- CMakeLists.txt | 2 +- src/uscxml/Interpreter.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ab5519f..b21dd0f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -858,7 +858,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/contrib/ctest/CTestCustom.ctest.in ${ # Some concluding remarks ############################################################ -message(STATUS "Linking against external:") +message(STATUS "Linking against external (check if you need to export in LD_LIBRARY_PATH or PATH):") set(SKIP_NEXT OFF) foreach(LIBRARY ${USCXML_OPT_LIBS}) if (LIBRARY MATCHES "debug") diff --git a/src/uscxml/Interpreter.cpp b/src/uscxml/Interpreter.cpp index 02e80f0..d5a075f 100644 --- a/src/uscxml/Interpreter.cpp +++ b/src/uscxml/Interpreter.cpp @@ -87,6 +87,7 @@ unsigned int InterpreterOptions::getCapabilities() { InterpreterOptions InterpreterOptions::fromCmdLine(int argc, char** argv) { InterpreterOptions options; + optind = 0; struct option longOptions[] = { {"verbose", no_argument, 0, 'v'}, {"dot", no_argument, 0, 'd'}, -- cgit v0.12