#7399 CMake error: Cannot specify link libraries for target 'testrunner' (reported by user dbuchholz). Add comment to mathlib.h

This commit is contained in:
Alexander Mai 2016-02-19 21:40:31 +01:00
parent 5c2960713f
commit 41dee7f970
2 changed files with 5 additions and 1 deletions

View File

@ -112,6 +112,10 @@ public:
* @return true if given character is octal digit.
*/
static bool isOctalDigit(char c);
/*
* \param str character literal
* @return Number of internal representation of the character literal
* */
static MathLib::bigint characterLiteralToLongNumber(const std::string& str);
};

View File

@ -8,7 +8,7 @@ if (BUILD_TESTS)
add_executable(testrunner ${hdrs} ${srcs} $<TARGET_OBJECTS:lib_objs> $<TARGET_OBJECTS:cli_objs> $<TARGET_OBJECTS:tinyxml_objs>)
if (HAVE_RULES)
target_link_libraries(testunner pcre)
target_link_libraries(testrunner pcre)
endif()
add_custom_target(copy_cfg ALL