mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 17:29:03 +08:00
bfc0f48833
* [many ports] Update to the latest version * [xeus] Fix static build * [usd] Revert change * [xeus] Fix build error * [sqlpp11] Update latest version * [libyaml] Fix build error on Linux * [sqlpp11] Fix build error
21 lines
514 B
Diff
21 lines
514 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index b8de9fa..82dd632 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -32,14 +32,11 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/")
|
|
|
|
include(CTest)
|
|
|
|
-
|
|
-### Dependencies
|
|
-add_subdirectory(dependencies)
|
|
-
|
|
### Main targets
|
|
add_library(sqlpp11 INTERFACE)
|
|
add_library(sqlpp11::sqlpp11 ALIAS sqlpp11)
|
|
|
|
+find_package(date CONFIG REQUIRED)
|
|
target_link_libraries(sqlpp11 INTERFACE date::date)
|
|
|
|
target_include_directories(sqlpp11 INTERFACE
|