Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2868


Ignore:
Timestamp:
Mar 30, 2009, 11:26:14 PM (16 years ago)
Author:
adrfried
Message:

cmake install prefix reset, compiler flags fixed

Location:
code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/CMakeLists.txt

    r2733 r2868  
    4242IF(UNIX AND NOT APPLE)
    4343  INCLUDE(FlagUtilities)
    44   SET_CACHE(CMAKE_INSTALL_PREFIX PATH "" /usr) # default: /usr/local
    4544ENDIF()
    4645
  • code/trunk/cmake/BuildConfigGCC.cmake

    r2710 r2868  
    6565# Increase warning level if requested
    6666IF(EXTRA_COMPILER_WARNINGS)
    67   REMOVE_COMPILER_FLAGS("-Wall" CACHE)
    68   ADD_COMPILER_FLAGS("-Wextra --Wno-unused-parameter" CACHE)
     67  ADD_COMPILER_FLAGS("-Wall -Wextra -Wno-unused-parameter" CACHE)
    6968ELSE()
    70   REMOVE_COMPILER_FLAGS("-Wextra --Wno-unused-parameter" CACHE)
     69  REMOVE_COMPILER_FLAGS("-Wextra -Wno-unused-parameter" CACHE)
    7170  ADD_COMPILER_FLAGS("-Wall" CACHE)
    7271ENDIF()
Note: See TracChangeset for help on using the changeset viewer.