aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmake/cmake.d/02-variables.cmake8
-rw-r--r--samples.d/config.cmake.sample4
-rw-r--r--template.d/rpm-config.spec.in2
3 files changed, 1 insertions, 13 deletions
diff --git a/cmake/cmake.d/02-variables.cmake b/cmake/cmake.d/02-variables.cmake
index 6d20b2f..7950880 100644
--- a/cmake/cmake.d/02-variables.cmake
+++ b/cmake/cmake.d/02-variables.cmake
@@ -119,14 +119,6 @@ endif(kernel_minimal_version)
# Project path variables
# ----------------------
-
-# If no install dir try to guess some smart default
-if(BINDINGS_INSTALL_PREFIX)
- set(BINDINGS_INSTALL_DIR ${BINDINGS_INSTALL_PREFIX}/${PROJECT_NAME} CACHE PATH "Where the binding will be installed in your system")
-else()
- set(BINDINGS_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME} CACHE PATH "Where the binding will be installed in your system")
-endif()
-
set(PKGOUT_DIR package CACHE PATH "Output directory for packages")
# Define a default package directory
diff --git a/samples.d/config.cmake.sample b/samples.d/config.cmake.sample
index c979181..810356f 100644
--- a/samples.d/config.cmake.sample
+++ b/samples.d/config.cmake.sample
@@ -144,10 +144,6 @@ set(WIDGET_ENTRY_POINT EntryPoint_Path_Not_Set)
# -------------------------
#set(EXTRA_LINK_LIBRARIES)
-# Optional force binding installation
-# ------------------------------------
-# set(BINDINGS_INSTALL_PREFIX PrefixPath )
-
# Optional force binding Linking flag
# ------------------------------------
# set(BINDINGS_LINK_FLAG LinkOptions )
diff --git a/template.d/rpm-config.spec.in b/template.d/rpm-config.spec.in
index 8b3d442..34a605d 100644
--- a/template.d/rpm-config.spec.in
+++ b/template.d/rpm-config.spec.in
@@ -42,7 +42,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%setup -q
%build
-%cmake -DBINDINGS_INSTALL_PREFIX:PATH=%{_libdir}
+%cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_libdir}
make %{?_smp_mflags}
%install