mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 10:56:11 +00:00
10 lines
468 B
CMake
10 lines
468 B
CMake
|
if(WIN32)
|
||
|
set(CMAKE_INSTALL_BINDIR "." CACHE PATH "Executable install directory")
|
||
|
set(CMAKE_INSTALL_INCLUDEDIR "include" CACHE PATH "Include install directory")
|
||
|
set(CMAKE_INSTALL_LIBDIR "lib" CACHE PATH "Library install directory")
|
||
|
elseif(APPLE)
|
||
|
include(GNUInstallDirs) #TODO: use appropriate paths for macOS
|
||
|
else()
|
||
|
include(GNUInstallDirs)
|
||
|
endif()
|
||
|
set(ConfigPackageLocation "${CMAKE_INSTALL_LIBDIR}/Cutter" CACHE PATH "Cmake file install location")
|