diff --git a/CMakeLists.txt b/CMakeLists.txt index ea398c2..a382ace 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,7 +41,7 @@ target_include_directories(optional $) if (NOT CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR) - add_executable(tl::optional ALIAS optional) + add_library(tl::optional ALIAS optional) endif() configure_package_config_file(