File: cmake_libdir.patch

package info (click to toggle)
ntirpc 1.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,464 kB
  • ctags: 7,239
  • sloc: ansic: 41,697; makefile: 22
file content (26 lines) | stat: -rw-r--r-- 968 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -23,15 +23,16 @@
 set(NTIRPC_VERSION
   "${NTIRPC_MAJOR_VERSION}.${NTIRPC_MINOR_VERSION}.${NTIRPC_PATCHLEVEL}")
 
 # Install destination, if built standalone
-if( CMAKE_SIZEOF_VOID_P EQUAL 8 )
-	set(LIB_INSTALL_DIR lib64 CACHE PATH
-		"Specify name of libdir inside install path")
-else( CMAKE_SIZEOF_VOID_P EQUAL 8 )
-	set(LIB_INSTALL_DIR lib CACHE PATH
-		"Specify name of libdir inside install path")
-endif( CMAKE_SIZEOF_VOID_P EQUAL 8 )
+#if( CMAKE_SIZEOF_VOID_P EQUAL 8 )
+#	set(LIB_INSTALL_DIR lib64 CACHE PATH
+#		"Specify name of libdir inside install path")
+#else( CMAKE_SIZEOF_VOID_P EQUAL 8 )
+#	set(LIB_INSTALL_DIR lib CACHE PATH
+#		"Specify name of libdir inside install path")
+#endif( CMAKE_SIZEOF_VOID_P EQUAL 8 )
+set(LIB_INSTALL_DIR lib CACHE PATH "Library installation directory")
 
 include(GetGitRevisionDescription)
 get_git_head_revision(GIT_REFSPEC _GIT_HEAD_COMMIT)
 git_describe(_GIT_DESCRIBE)