Created
March 18, 2015 09:03
-
-
Save anaselli/e39c8a1b6e9b8fa71d44 to your computer and use it in GitHub Desktop.
Orion context broker build arch patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index 4996227..5705083 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -130,11 +130,11 @@ include_directories("/usr/include") | |
# Library directories | |
# | |
MESSAGE("Building for ${BUILD_ARCH}") | |
-if (${BUILD_ARCH} STREQUAL "x86_64") | |
+if ("${BUILD_ARCH}" STREQUAL "x86_64") | |
link_directories("/usr/lib64") | |
-else (NOT ${BUILD_ARCH} STREQUAL "x86_64") | |
+else (NOT "${BUILD_ARCH}" STREQUAL "x86_64") | |
link_directories("/usr/lib") | |
-endif (${BUILD_ARCH} STREQUAL "x86_64") | |
+endif ("${BUILD_ARCH}" STREQUAL "x86_64") | |
# | |
# Enabling test harness |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment