Skip to content

Commit

Permalink
Fixed wrong casing on the CMake script
Browse files Browse the repository at this point in the history
  • Loading branch information
mathausmendel committed Mar 7, 2016
1 parent 5f94a74 commit 6dcf71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/DefinePlatformSpecifc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ if (ANDROID)
endif(ANDROID)

# IBM XLC for AIX
if ((${CMAKE_CXX_COMPILER_ID} MATCHES "XL") and (${CMAKE_SYSTEM} MATCHES "AIX"))
if ((${CMAKE_CXX_COMPILER_ID} MATCHES "XL") AND (${CMAKE_SYSTEM} MATCHES "AIX"))
set(WARNINGS_FLAGS "-qsuppress=1540-0198 -qsuppress=1540-1628 -qsuppress=1540-0095 -qsuppress=1500-030")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -qlanglvl=extended0x -qlanglvl=noconstexpr -qlanglvl=newexcp ${WARNINGS_FLAGS}")
endif()

0 comments on commit 6dcf71d

Please sign in to comment.