summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Caulier <[email protected]>2015-01-24 06:00:49 -0500
committerGilles Caulier <[email protected]>2015-01-24 06:00:49 -0500
commit5ba27b23767ea8d1bf041770f36cb1c84751b144 (patch)
treef4242bba4a1d9c1f1089c4ec7dbe28aebc10ea8d
parente010c14b83af1ce030bd5667f6f06a5c2ee76b7e (diff)
fix install and compile
-rw-r--r--CMakeLists.txt4
-rw-r--r--src/CMakeLists.txt1
2 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 37544e0..d935a7b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -101,8 +101,8 @@ set_package_properties("LibRaw" PROPERTIES
ecm_setup_version(${LIBKDCRAW_LIB_VERSION}
VARIABLE_PREFIX KDCRAW
- VERSION_HEADER "src/libkdcraw_version.h"
- PACKAGE_VERSION_FILE "src/KF5KDcrawConfigVersion.cmake"
+ VERSION_HEADER "libkdcraw_version.h"
+ PACKAGE_VERSION_FILE "KF5KDcrawConfigVersion.cmake"
SOVERSION ${LIBKDCRAW_SO_VERSION})
############## Targets #########################
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 411fbf1..4a4159f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -7,6 +7,7 @@
kde_enable_exceptions()
include_directories(${LibRaw_INCLUDE_DIR})
+include_directories(${CMAKE_CURRENT_BINARY_DIR}/..)
add_definitions(${LibRaw_DEFINITIONS})