Use the same header namespace everywhere
authorLuís Pereira <luis.artur.pereira@gmail.com>
Fri, 30 May 2014 19:06:56 +0000 (12:06 -0700)
committerLuís Pereira <luis.artur.pereira@gmail.com>
Fri, 30 May 2014 19:06:56 +0000 (12:06 -0700)
We must use the same header namespace in in-tree builds and in install
builds. Otherwise the user will get an FTBFS when moving from an install
build to an in-tree build or vice-versa.

Signed-off-by: Luís Pereira <luis.artur.pereira@gmail.com>
CMakeLists.txt

index be54c58..909ca74 100644 (file)
@@ -218,12 +218,12 @@ message(STATUS "")
 # Copy public headers
 foreach(h ${PUB_HDRS})
     get_filename_component(bh ${h} NAME)
-    configure_file(${h} ${LXQT_INTREE_INCLUDE_DIR}/LxQt/${bh} COPYONLY)
+    configure_file(${h} ${LXQT_INTREE_INCLUDE_DIR}/LXQt/${bh} COPYONLY)
     configure_file(${h} ${LXQT_INTREE_INCLUDE_DIR}/lxqt/${bh} COPYONLY)
 endforeach()
 
 # Create the portable headers
-create_portable_headers(INTREE_PORTABLE_HEADERS ${LXQT_INTREE_INCLUDE_DIR}/LxQt ${PUBLIC_CLASSES})
+create_portable_headers(INTREE_PORTABLE_HEADERS ${LXQT_INTREE_INCLUDE_DIR}/LXQt ${PUBLIC_CLASSES})
 check_portable_headers(H_FILES ${PUB_HDRS} LINKS ${INTREE_PORTABLE_HEADERS})
 
 #************************************************