diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-09-06 14:15:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-09-06 14:15:41 +0400 |
commit | 04b0dcd9e53206d3208c0a846d2e52f262bad985 (patch) | |
tree | 1b21679c6c12019bb3663e0277fe54ce979a2726 /CMakeLists.txt | |
parent | eef3b72c0e64c01ef8a8d1a84c42377a1b2973e0 (diff) |
- use list append in more places (preferred method since its faster)
- remove some unused include paths
- remove unused linux path define
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
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) |