[PATCH 1/2] SelectLibraryConfigurations: Do not cache the _LIBRARY variable
Daniele E. Domenichelli
daniele.domenichelli at iit.it
Mon Jul 8 08:37:23 EDT 2013
---
Modules/SelectLibraryConfigurations.cmake | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/Modules/SelectLibraryConfigurations.cmake b/Modules/SelectLibraryConfigurations.cmake
index 5bca064..f475d87 100644
--- a/Modules/SelectLibraryConfigurations.cmake
+++ b/Modules/SelectLibraryConfigurations.cmake
@@ -73,15 +73,11 @@ macro( select_library_configurations basename )
endif()
endif()
- set( ${basename}_LIBRARY ${${basename}_LIBRARY} CACHE FILEPATH
- "The ${basename} library" )
-
if( ${basename}_LIBRARY )
set( ${basename}_FOUND TRUE )
endif()
- mark_as_advanced( ${basename}_LIBRARY
- ${basename}_LIBRARY_RELEASE
+ mark_as_advanced( ${basename}_LIBRARY_RELEASE
${basename}_LIBRARY_DEBUG
)
endmacro()
--
1.7.10.4
--------------040509070101050400020803
Content-Type: text/x-patch;
name="0002-SelectLibraryConfigurations-Use-NOTFOUND-instead-of-.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename*0="0002-SelectLibraryConfigurations-Use-NOTFOUND-instead-of-.pa";
filename*1="tch"
More information about the cmake-developers
mailing list