Mac :
authorDamien Plisson <damien.plisson@yahoo.fr>
Mon, 2 Nov 2009 20:40:47 +0000 (20:40 +0000)
committerDamien Plisson <damien.plisson@yahoo.fr>
Mon, 2 Nov 2009 20:40:47 +0000 (20:40 +0000)
- remove CMake warnings when building with openMP

CMakeLists.txt

index 74c527841f542a10e8c403c588f89902651acb7b..7c5ba143b5264f239ca343cd8ff9304c7f741a89 100644 (file)
@@ -518,9 +518,9 @@ IF(APPLE)
        ENDIF (WITH_COCOA)
 
        IF(WITH_OPENMP)
-               SET(LLIBS "${LLIBS} -lgomp ")
-               SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fopenmp ")
-               SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp ")
+               SET(LLIBS "${LLIBS} -lgomp")
+               SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fopenmp")
+               SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp")
        ENDIF(WITH_OPENMP)
 
        IF (WITH_OPENCOLLADA)