Skip to content

Commit 1cbf4b1

Browse files
committed
Clear the return variable from the CMake cache
1 parent eb8aa60 commit 1cbf4b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mysql-concpp-config.cmake.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -880,6 +880,7 @@ function(find_imp_lib var base_name path)
880880
set(CMAKE_FIND_LIBRARY_SUFFIXES .lib)
881881

882882
#message("!!! Looking for import library for: ${path}")
883+
unset(${var} CACHE)
883884
find_library(${var}
884885
NAMES ${base_name}
885886
PATHS ${base_path}

0 commit comments

Comments
 (0)