Browse Source

Merge pull request #4681 from Koekto-code/master

Fix problems setting DirectX_LIBRARY
Kim Kulling 3 years ago
parent
commit
0dabe020a9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cmake-modules/FindPkgMacros.cmake

+ 1 - 1
cmake-modules/FindPkgMacros.cmake

@@ -54,7 +54,7 @@ macro(clear_if_changed TESTVAR)
       set(${var} "NOTFOUND" CACHE STRING "x" FORCE)
     endforeach(var)
   endif ()
-  set(${TESTVAR}_INT_CHECK ${${TESTVAR}} CACHE INTERNAL "x" FORCE)
+  set(${TESTVAR}_INT_CHECK "${${TESTVAR}}" CACHE INTERNAL "x" FORCE)
 endmacro(clear_if_changed)
 
 # Try to get some hints from pkg-config, if available