aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Ashburn <jon@lunarg.com>2015-07-31 15:15:00 -0600
committerJon Ashburn <jon@lunarg.com>2015-07-31 15:15:00 -0600
commitf2415f56f1bb93e63bba016d09b26d6daeebc59a (patch)
tree8e743666078ebcc5cd0bc57fb2ae5da880a65494
parentced5981fac1fe700973f4ce7ee13f6e5688442c2 (diff)
downloadusermoji-f2415f56f1bb93e63bba016d09b26d6daeebc59a.tar.xz
cmake: Set CMAKE_INSTALL_PREFIX to "" so loader will be built with sys paths
CMake seems to default to non-null but for system SDK builds want this to be empty string.
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 442876a3..fd594c2d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,6 +16,8 @@ include_directories("${PROJECT_SOURCE_DIR}/include")
include(FindPkgConfig)
+set (CMAKE_INSTALL_PREFIX "")
+
if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
set(COMMON_COMPILE_FLAGS "-Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers")
set(COMMON_COMPILE_FLAGS "${COMMON_COMPILE_FLAGS} -fno-strict-aliasing -fno-builtin-memcmp")