1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00

compiler flag change

This commit is contained in:
Lu Wang 2013-05-11 18:42:50 +08:00
parent 4e2aefeb6f
commit 6adf903b1b

View File

@ -127,9 +127,9 @@ endif()
# CYGWIN or GCC 4.5.x bug # CYGWIN or GCC 4.5.x bug
if(CYGWIN) if(CYGWIN)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=gnu++0x") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++0x")
else() else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++0x") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
endif() endif()
include(CheckCXXCompilerFlag) include(CheckCXXCompilerFlag)