mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 13:47:50 +08:00
cfdc331b4b
* [darknet/yolo] add draft implementation * [darknet] use official repo * [darknet] use stb from vcpkg * [darknet] Explicit failure on ARM and UWP
15 lines
904 B
Diff
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")
|