summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-01-07 09:08:41 +0100
committerMatthias Braun <matze@braunis.de>2016-01-07 09:08:41 +0100
commit7f084be8a420978552432166d981dbbd8a047bc8 (patch)
tree54588bf2bca96c8c4d700f9689cb46d685569cce /CMakeLists.txt
parentc493a35093a5ee813363156059d0cfc41fc1f516 (diff)
CMakeLists: Use same COMPILER_INCLUDE_DIR default as Makefile build
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 82f99ac..8b0c059 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -81,7 +81,7 @@ if(APPLE)
endif()
set(SYSTEM_INCLUDE_DIR ${DEFAULT_SYSTEM_INCLUDE_DIR} CACHE PATH "system include directory")
set(LOCAL_INCLUDE_DIR /usr/local CACHE PATH "system local include directory")
-set(COMPILER_INCLUDE_DIR lib/cparser/${cparser_VERSION} CACHE STRING "compiler include dir (under CMAKE_INSTALL_PREFIX)")
+set(COMPILER_INCLUDE_DIR lib/cparser/${cparser_VERSION}/include CACHE STRING "compiler include dir (under CMAKE_INSTALL_PREFIX)")
set(HOST_TRIPLE CACHE STRING "host machine triple (may be empty)")
add_definitions(-DSYSTEM_INCLUDE_DIR=\"${SYSTEM_INCLUDE_DIR}\")