This commit is contained in:
parent
af4db4910e
commit
cce6e2125b
@ -229,7 +229,7 @@ add_executable(StrToHash src/StrToHash.cpp)
|
|||||||
|
|
||||||
message("Project Dir: ${PROJECT_SOURCE_DIR}")
|
message("Project Dir: ${PROJECT_SOURCE_DIR}")
|
||||||
target_include_directories(EHS PUBLIC ${PROJECT_SOURCE_DIR}/include)
|
target_include_directories(EHS PUBLIC ${PROJECT_SOURCE_DIR}/include)
|
||||||
target_include_directories(StrToHash PUBLIC ${PROJECT_SOURCE_DIR}/include)
|
#target_include_directories(StrToHash PUBLIC ${PROJECT_SOURCE_DIR}/include)
|
||||||
|
|
||||||
set(CMAKE_INSTALL_PREFIX "${USER_HOME_DIRECTORY}/Libraries/EHS")
|
set(CMAKE_INSTALL_PREFIX "${USER_HOME_DIRECTORY}/Libraries/EHS")
|
||||||
install(TARGETS EHS DESTINATION lib)
|
install(TARGETS EHS DESTINATION lib)
|
||||||
@ -238,7 +238,6 @@ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/ DESTINATION include)
|
|||||||
|
|
||||||
install(TARGETS StrToHash DESTINATION bin)
|
install(TARGETS StrToHash DESTINATION bin)
|
||||||
|
|
||||||
if (IS_ARCH_AMD64)
|
|
||||||
find_package(ZLIB REQUIRED)
|
find_package(ZLIB REQUIRED)
|
||||||
if (ZLIB_FOUND)
|
if (ZLIB_FOUND)
|
||||||
message(STATUS "ZLIB was found.")
|
message(STATUS "ZLIB was found.")
|
||||||
@ -258,7 +257,5 @@ if (IS_ARCH_AMD64)
|
|||||||
if (IS_OS_WINDOWS)
|
if (IS_OS_WINDOWS)
|
||||||
target_link_libraries(StrToHash ws2_32 avrt EHS)
|
target_link_libraries(StrToHash ws2_32 avrt EHS)
|
||||||
elseif (IS_OS_LINUX)
|
elseif (IS_OS_LINUX)
|
||||||
target_link_directories(StrToHash PUBLIC ${PROJECT_SOURCE_DIR})
|
|
||||||
target_link_libraries(StrToHash z xcb xcb-cursor xcb-xfixes xcb-xinput wayland-client z asound EHS)
|
target_link_libraries(StrToHash z xcb xcb-cursor xcb-xfixes xcb-xinput wayland-client z asound EHS)
|
||||||
endif ()
|
endif ()
|
||||||
endif ()
|
|
Loading…
Reference in New Issue
Block a user