mirror of
https://github.com/reactos/CMake.git
synced 2024-11-26 04:50:24 +00:00
c106cb2e2f
We factor flags from Platform/Linux-PGI-Fortran.cmake into language independent helper modules Compiler/PGI.cmake Platform/Linux-PGI.cmake and invoke the macros from Compiler/PGI-<lang>.cmake Platform/Linux-PGI-<lang>.cmake This enables general support for the PGI compilers.
5 lines
192 B
CMake
5 lines
192 B
CMake
include(Compiler/PGI)
|
|
__compiler_pgi(C)
|
|
set(CMAKE_C_FLAGS_MINSIZEREL_INIT "${CMAKE_C_FLAGS_MINSIZEREL_INIT} -DNDEBUG")
|
|
set(CMAKE_C_FLAGS_RELEASE_INIT "${CMAKE_C_FLAGS_RELEASE_INIT} -DNDEBUG")
|