vcpkg/ports/darknet/enable_standard_installation.patch
Stefano Sinigardi cfdc331b4b [darknet/yolo] new port (#5648)
* [darknet/yolo] add draft implementation

* [darknet] use official repo

* [darknet] use stb from vcpkg

* [darknet] Explicit failure on ARM and UWP
2019-03-14 14:15:28 -07:00

15 lines
904 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 26c0ad7..9f425ad 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -25,8 +25,7 @@ enable_language(CXX)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake/Modules/" ${CMAKE_MODULE_PATH})
-set(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_LIST_DIR}" CACHE PATH "Install prefix" FORCE)
-set(INSTALL_BIN_DIR "${CMAKE_CURRENT_LIST_DIR}" CACHE PATH "Path where exe and dll will be installed" FORCE)
+set(INSTALL_BIN_DIR "bin" CACHE PATH "Path where exe and dll will be installed")
set(INSTALL_LIB_DIR "lib" CACHE PATH "Path where lib will be installed")
set(INSTALL_INCLUDE_DIR "include" CACHE PATH "Path where headers will be installed")
set(INSTALL_CMAKE_DIR "share/darknet" CACHE PATH "Path where cmake configs will be installed")