Simplified Windows build again.
This commit is contained in:
parent
4d7e7596b6
commit
01a21032a5
@ -255,12 +255,15 @@ elseif (IS_OS_WINDOWS)
|
||||
set(CMAKE_INSTALL_PREFIX "${USER_HOME_DIRECTORY}/EHS")
|
||||
endif ()
|
||||
|
||||
install(TARGETS EHS_Stc DESTINATION lib)
|
||||
install(TARGETS EHS_Dyn RUNTIME DESTINATION bin)
|
||||
install(TARGETS EHS_Dyn LIBRARY DESTINATION lib)
|
||||
install(TARGETS StrToHash DESTINATION bin)
|
||||
install(TARGETS EHS_Stc DESTINATION LIB)
|
||||
install(TARGETS EHS_Dyn RUNTIME DESTINATION BIN)
|
||||
install(TARGETS EHS_Dyn LIBRARY DESTINATION LIB)
|
||||
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)
|
||||
if (ZLIB_FOUND)
|
||||
|
Loading…
Reference in New Issue
Block a user