Fixed a warning due to a change in policy between cmake 2.4 and
authorChris Want <cwant@ualberta.ca>
Wed, 6 Aug 2008 19:47:52 +0000 (19:47 +0000)
committerChris Want <cwant@ualberta.ca>
Wed, 6 Aug 2008 19:47:52 +0000 (19:47 +0000)
cmake 2.6. (Other warnings still exist, but are harder to fix.)

CMakeLists.txt

index 5a23e77d9f81fa04100e840f1bab164e442a317f..0ea26750ec1c75aa03c40b02972b068cdbfaaeb0 100644 (file)
@@ -183,9 +183,9 @@ IF(UNIX)
   SET(LLIBS "-lXi -lutil -lc -lm -lpthread -lstdc++")
 
   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)