Added vcpkg.
This commit is contained in:
parent
681c0d09be
commit
9bd3e1cd8d
@ -259,6 +259,11 @@ if (IS_OS_LINUX)
|
|||||||
target_include_directories(EHS_Stc PRIVATE ${PIPEWIRE_INCLUDE_DIRS})
|
target_include_directories(EHS_Stc PRIVATE ${PIPEWIRE_INCLUDE_DIRS})
|
||||||
target_include_directories(EHS_Dyn PRIVATE ${PIPEWIRE_INCLUDE_DIRS})
|
target_include_directories(EHS_Dyn PRIVATE ${PIPEWIRE_INCLUDE_DIRS})
|
||||||
elseif (IS_OS_WINDOWS)
|
elseif (IS_OS_WINDOWS)
|
||||||
|
if(NOT DEFINED CMAKE_TOOLCHAIN_FILE)
|
||||||
|
set(CMAKE_TOOLCHAIN_FILE "$ENV{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
|
||||||
|
CACHE STRING "Vcpkg toolchain file")
|
||||||
|
endif()
|
||||||
|
|
||||||
set(CMAKE_INSTALL_PREFIX "${USER_HOME_DIRECTORY}/EHS")
|
set(CMAKE_INSTALL_PREFIX "${USER_HOME_DIRECTORY}/EHS")
|
||||||
install(TARGETS EHS_Dyn LIBRARY DESTINATION "lib")
|
install(TARGETS EHS_Dyn LIBRARY DESTINATION "lib")
|
||||||
install(TARGETS EHS_Dyn RUNTIME DESTINATION "bin")
|
install(TARGETS EHS_Dyn RUNTIME DESTINATION "bin")
|
||||||
|
Loading…
Reference in New Issue
Block a user