Changeset 124 for osgVisual


Ignore:
Timestamp:
Sep 2, 2010, 9:40:00 PM (14 years ago)
Author:
Torben Dannhauer
Message:

added compileflag /MP1 to disable multi core processing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/CMakeLists.txt

    r120 r124  
    374374SET_TARGET_PROPERTIES( osgVisual PROPERTIES DEBUG_POSTFIX d )
    375375
     376# Adding definitions to disable multicore compiling
     377IF(MSVC)
     378SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP1")
     379ENDIF(MSVC)
    376380
    377381# Generating vcproj file, if MSVC to preset debugging parameter  - based on http://stackoverflow.com/questions/1005901/how-to-set-path-environment-variable-using-cmake-and-visual-studio-to-run-test
Note: See TracChangeset for help on using the changeset viewer.