#7399 CMake error: Cannot specify link libraries for target 'testrunner' (reported by user dbuchholz). Add comment to mathlib.h
This commit is contained in:
parent
5c2960713f
commit
41dee7f970
|
@ -112,6 +112,10 @@ public:
|
||||||
* @return true if given character is octal digit.
|
* @return true if given character is octal digit.
|
||||||
*/
|
*/
|
||||||
static bool isOctalDigit(char c);
|
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);
|
static MathLib::bigint characterLiteralToLongNumber(const std::string& str);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -8,7 +8,7 @@ if (BUILD_TESTS)
|
||||||
|
|
||||||
add_executable(testrunner ${hdrs} ${srcs} $<TARGET_OBJECTS:lib_objs> $<TARGET_OBJECTS:cli_objs> $<TARGET_OBJECTS:tinyxml_objs>)
|
add_executable(testrunner ${hdrs} ${srcs} $<TARGET_OBJECTS:lib_objs> $<TARGET_OBJECTS:cli_objs> $<TARGET_OBJECTS:tinyxml_objs>)
|
||||||
if (HAVE_RULES)
|
if (HAVE_RULES)
|
||||||
target_link_libraries(testunner pcre)
|
target_link_libraries(testrunner pcre)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_custom_target(copy_cfg ALL
|
add_custom_target(copy_cfg ALL
|
||||||
|
|
Loading…
Reference in New Issue