early-access version 2853
This commit is contained in:
30
externals/vcpkg/ports/nonius/CMakeLists.txt
vendored
Executable file
30
externals/vcpkg/ports/nonius/CMakeLists.txt
vendored
Executable file
@@ -0,0 +1,30 @@
|
||||
cmake_minimum_required(VERSION 3.9)
|
||||
cmake_policy(VERSION ${CMAKE_VERSION}) # use default policies of current cmake version
|
||||
|
||||
project(nonius)
|
||||
|
||||
add_library(nonius INTERFACE)
|
||||
target_include_directories(nonius INTERFACE
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
$<INSTALL_INTERFACE:include>
|
||||
)
|
||||
|
||||
if(NOT DISABLE_INSTALL_HEADERS)
|
||||
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/
|
||||
DESTINATION include
|
||||
)
|
||||
endif()
|
||||
|
||||
install(TARGETS nonius
|
||||
EXPORT noniusExport
|
||||
RUNTIME DESTINATION bin
|
||||
LIBRARY DESTINATION lib
|
||||
ARCHIVE DESTINATION lib
|
||||
)
|
||||
|
||||
install(
|
||||
EXPORT noniusExport
|
||||
FILE noniusConfig.cmake
|
||||
NAMESPACE Nonius::
|
||||
DESTINATION share/nonius
|
||||
)
|
||||
Reference in New Issue
Block a user