Skip to content

Commit d939624

Browse files
committed
Use STRING in CMakeFunctions.cmake to silence warning
Signed-off-by: Patrik Dahlström <risca@powerlamerz.org>
1 parent b19c05d commit d939624

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

plex/CMakeModules/CMakeFunctions.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ macro(plex_find_library lib framework nodefaultpath searchpath addtolinklist)
119119
get_filename_component(FNAME ${REALNAME} NAME)
120120

121121
# set the SONAME variable, needed for DllPaths_generated.h
122-
set(${LIBN}_SONAME ${FNAME} CACHE string "the soname for the current library")
123-
set(LIB${LIBN}_SONAME ${FNAME} CACHE string "the soname for the current library")
122+
set(${LIBN}_SONAME ${FNAME} CACHE STRING "the soname for the current library")
123+
set(LIB${LIBN}_SONAME ${FNAME} CACHE STRING "the soname for the current library")
124124

125125
# set the HAVE_LIBX variable
126126
set(HAVE_LIB${LIBN} 1 CACHE string "the HAVE_LIBX variable")
@@ -172,7 +172,7 @@ macro(plex_find_package package required addtolinklist)
172172
list(APPEND CONFIG_PLEX_INSTALL_LIBRARIES ${PKG_LIB})
173173
endif()
174174

175-
set(HAVE_LIB${PKG_NO_LIB_NAME} 1 CACHE string "if this lib is around or not")
175+
set(HAVE_LIB${PKG_NO_LIB_NAME} 1 CACHE STRING "if this lib is around or not")
176176
else()
177177
if(${required})
178178
message(FATAL_ERROR "Missing ${PKG_NAME}")

0 commit comments

Comments
 (0)