From 04b0dcd9e53206d3208c0a846d2e52f262bad985 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 6 Sep 2010 10:15:41 +0000 Subject: - use list append in more places (preferred method since its faster) - remove some unused include paths - remove unused linux path define --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e77188a9f4..0ca96fc8dc8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -300,7 +300,7 @@ IF(UNIX AND NOT APPLE) IF(CMAKE_SYSTEM_NAME MATCHES "Linux") # BSD's dont use libdl.so - SET(LLIBS "${LLIBS} -ldl") + LIST(APPEND LLIBS -ldl) # binreloc is linux only SET(BINRELOC ${CMAKE_SOURCE_DIR}/extern/binreloc) @@ -308,9 +308,9 @@ IF(UNIX AND NOT APPLE) ENDIF(CMAKE_SYSTEM_NAME MATCHES "Linux") IF(WITH_OPENMP) - SET(LLIBS "${LLIBS} -lgomp") - SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fopenmp") - SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp") + LIST(APPEND LLIBS -lgomp) + LIST(APPEND CMAKE_C_FLAGS -fopenmp) + LIST(APPEND CMAKE_CXX_FLAGS -fopenmp) ENDIF(WITH_OPENMP) -- cgit v1.2.3