Simplified Windows build again.

This commit is contained in:
Arron David Nelson 2024-07-24 15:37:45 -07:00
parent 4d7e7596b6
commit 01a21032a5

View File

@ -255,12 +255,15 @@ elseif (IS_OS_WINDOWS)
set(CMAKE_INSTALL_PREFIX "${USER_HOME_DIRECTORY}/EHS") set(CMAKE_INSTALL_PREFIX "${USER_HOME_DIRECTORY}/EHS")
endif () endif ()
install(TARGETS EHS_Stc DESTINATION lib) install(TARGETS EHS_Stc DESTINATION LIB)
install(TARGETS EHS_Dyn RUNTIME DESTINATION bin) install(TARGETS EHS_Dyn RUNTIME DESTINATION BIN)
install(TARGETS EHS_Dyn LIBRARY DESTINATION lib) install(TARGETS EHS_Dyn LIBRARY DESTINATION LIB)
install(TARGETS StrToHash DESTINATION bin) install(TARGETS StrToHash DESTINATION BIN)
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/ DESTINATION include) file(GLOB DLL_FILES "${CMAKE_CURRENT_BINARY_DIR}/*.dll")
install(FILES ${DLL_FILES} DESTINATION BIN)
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/" DESTINATION INCLUDE)
find_package(ZLIB REQUIRED) find_package(ZLIB REQUIRED)
if (ZLIB_FOUND) if (ZLIB_FOUND)