diff --git a/CMakeLists.txt b/CMakeLists.txt index b970faa..8df9107 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,7 @@ target_include_directories(expected $) if (NOT CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR) - add_executable(tl::expected ALIAS expected) + add_library(tl::expected ALIAS expected) endif() # Installation help