early-access version 2853
This commit is contained in:
14
externals/vcpkg/ports/gettimeofday/CMakeLists.txt
vendored
Executable file
14
externals/vcpkg/ports/gettimeofday/CMakeLists.txt
vendored
Executable file
@@ -0,0 +1,14 @@
|
||||
cmake_minimum_required(VERSION 3.8)
|
||||
project(gettimeofday C)
|
||||
|
||||
add_library(gettimeofday gettimeofday.c gettimeofday.def)
|
||||
|
||||
install(TARGETS gettimeofday
|
||||
RUNTIME DESTINATION bin
|
||||
ARCHIVE DESTINATION lib/manual-link
|
||||
LIBRARY DESTINATION lib/manual-link
|
||||
)
|
||||
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||
install(FILES gettimeofday.h DESTINATION include)
|
||||
endif()
|
||||
Reference in New Issue
Block a user