comment: fix comment regarding gcc 4.8/4.9
This commit is contained in:
parent
dda72a0023
commit
b1b5cb891c
@ -51,7 +51,7 @@ target_compile_definitions(json-schema-validator
|
|||||||
PRIVATE
|
PRIVATE
|
||||||
-DJSON_SCHEMA_VALIDATOR_EXPORTS)
|
-DJSON_SCHEMA_VALIDATOR_EXPORTS)
|
||||||
|
|
||||||
# regex with boost if gcc < 4.8 - default is std::regex
|
# regex with boost if gcc < 4.9 - default is std::regex
|
||||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.9.0")
|
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.9.0")
|
||||||
find_package(Boost COMPONENTS regex)
|
find_package(Boost COMPONENTS regex)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user