aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2a3278f..ab653b7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -173,7 +173,7 @@ endif() # HAVE_LIBBSD_STATIC
option(NIMISEWI_STATIC_BUILD "build static version of nimisewi" OFF)
if(NIMISEWI_STATIC_BUILD)
if(NIMISEWI_CGI_STATIC_BUILD)
- target_link_options(nimisewi.cgi PUBLIC -static)
+ target_link_options(nimisewi PUBLIC -static)
else() # NIMISEWI_CGI_STATIC_BUILD
message(SEND_ERROR
"missing ${_MISSING_STATIC_LIBS}. will not link statically. \