[cityhash] Add install rule
This commit is contained in:
parent
c488c336de
commit
e6777b0ad7
10
deps/ox/deps/cityhash/CMakeLists.txt
vendored
10
deps/ox/deps/cityhash/CMakeLists.txt
vendored
@ -9,9 +9,6 @@ set(CMAKE_CXX_EXTENSIONS OFF)
|
|||||||
|
|
||||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||||
|
|
||||||
set(NOSTALGIA_BUILD_PLAYER OFF)
|
|
||||||
set(NOSTALGIA_BUILD_STUDIO_APP OFF)
|
|
||||||
|
|
||||||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
||||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
||||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||||
@ -28,3 +25,10 @@ endif()
|
|||||||
|
|
||||||
add_library(CityHash INTERFACE)
|
add_library(CityHash INTERFACE)
|
||||||
target_include_directories(CityHash INTERFACE include)
|
target_include_directories(CityHash INTERFACE include)
|
||||||
|
|
||||||
|
install(
|
||||||
|
DIRECTORY
|
||||||
|
include/cityhash
|
||||||
|
DESTINATION
|
||||||
|
include
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user