aboutsummaryrefslogtreecommitdiff
path: root/ports/liblas/fix-BuildError.patch
blob: 4f9d768dc13b6f073d9f92882f03e4555a39cb5d (plain)
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
27
28
29
30
31
32
33
diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt
index beb83e2..6f216bd 100644
--- a/apps/CMakeLists.txt
+++ b/apps/CMakeLists.txt
@@ -155,7 +152,7 @@ endif()
 # Targets installation
 
 install(TARGETS ${LIBLAS_UTILITIES}
-    RUNTIME DESTINATION ${LIBLAS_BIN_DIR}
+    RUNTIME DESTINATION tools
     LIBRARY DESTINATION ${LIBLAS_LIB_DIR}
     ARCHIVE DESTINATION ${LIBLAS_LIB_DIR})
 
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index c7f583d..ca9e602 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -5,13 +5,8 @@
 # Set where cmake will install liblas-config.cmake.  It's installed in
 # ${CMAKE_INSTALL_PREFIX}/${INSTALL_CMAKE_DIR} and ${PROJECT_ROOT_DIR}
 # is the relative path to the root from there.
-if (NOT WIN32)
-  set(INSTALL_CMAKE_DIR "share/cmake/${PROJECT_NAME}")
-  set (PROJECT_ROOT_DIR "../../..")
-else ()
-  set(INSTALL_CMAKE_DIR "cmake")
-  set (PROJECT_ROOT_DIR "..")
-endif ()
+set(INSTALL_CMAKE_DIR "share/cmake/${PROJECT_NAME}")
+set (PROJECT_ROOT_DIR "../../..")
 
 # Now create the liblas-config files using the .in templates
 configure_file (liblas-config.cmake.in