Adjusted Windows install.
All checks were successful
Build & Release / Windows-AMD64-Build (push) Successful in 1m12s
Build & Release / Linux-AMD64-Build (push) Successful in 1m23s
Build & Release / Linux-AARCH64-Build (push) Successful in 3m21s

This commit is contained in:
Arron David Nelson 2024-02-05 22:54:47 -08:00
parent 355a26a042
commit a7331d5561
2 changed files with 7 additions and 1 deletions

View File

@ -22,6 +22,7 @@ jobs:
cmake -A x64 -DCMAKE_BUILD_TYPE=Release --preset=default .
cd build
cmake --build . --config Release
cmake --install .
- name: Creating Appropriate Directories
run: |

View File

@ -220,7 +220,12 @@ add_executable(StrToHash src/StrToHash.cpp)
target_include_directories(EHS PUBLIC ${PROJECT_SOURCE_DIR}/include)
set(CMAKE_INSTALL_PREFIX "${USER_HOME_DIRECTORY}/.local")
if (IS_OS_LINUX)
set(CMAKE_INSTALL_PREFIX "${USER_HOME_DIRECTORY}/.local")
elseif (IS_OS_WINDOWS)
set(CMAKE_INSTALL_PREFIX "${USER_HOME_DIRECTORY}/EHS")
endif ()
install(TARGETS EHS DESTINATION lib)
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/ DESTINATION include)