blob: 458e80ab6f519cf55be932324f76726fbb04f09f [file] [log] [blame]
--- laszip-src-3.1.1/cmake/macros.cmake.orig 2017-11-09 14:29:52.850009700 +0300
+++ laszip-src-3.1.1/cmake/macros.cmake 2017-11-09 14:30:00.597623800 +0300
@@ -183,10 +183,10 @@
"share/doc/${PROJECT_NAME_LOWER}-${LASZIP_VERSION_MAJOR}.${LASZIP_VERSION_MINOR}")
set(LASZIP_BIN_INSTALL_DIR "bin")
set(LASZIP_PLUGIN_INSTALL_DIR "share/pdal/plugins")
- if(WIN32)
+ if(MSVC)
set(LASZIPCONFIG_INSTALL_DIR "cmake")
- else(WIN32)
+ else(MSVC)
set(LASZIPCONFIG_INSTALL_DIR
"share/${PROJECT_NAME_LOWER}-${LASZIP_VERSION_MAJOR}.${LASZIP_VERSION_MINOR}")
- endif(WIN32)
+ endif(MSVC)
endmacro(SET_INSTALL_DIRS)