Skip to content

Commit

Permalink
cmake: Fix warning about implicit type conversion
Browse files Browse the repository at this point in the history
Fixes:
CMake Warning (dev) at CMakeLists.txt:478 (set):
  implicitly converting 'String' to 'STRING' type.
This warning is for project developers.  Use -Wno-dev to suppress it.
  • Loading branch information
lzaoral authored and MartinNowack committed Mar 4, 2021
1 parent 2953530 commit 91420b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ else()
if(NOT CMAKE_BUILD_TYPE)
message(STATUS "CMAKE_BUILD_TYPE is not set. Setting default")
message(STATUS "The available build types are: ${available_build_types}")
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE String
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING
"Options are ${available_build_types}"
FORCE)
# Provide drop down menu options in cmake-gui
Expand Down Expand Up @@ -475,7 +475,7 @@ set(available_klee_runtime_build_types
if (NOT KLEE_RUNTIME_BUILD_TYPE)
message(STATUS "KLEE_RUNTIME_BUILD_TYPE is not set. Setting default")
message(STATUS "The available runtime build types are: ${available_klee_runtime_build_types}")
set(KLEE_RUNTIME_BUILD_TYPE "Debug+Asserts" CACHE String
set(KLEE_RUNTIME_BUILD_TYPE "Debug+Asserts" CACHE STRING
"Options are ${available_klee_runtime_build_types}"
FORCE)
endif()
Expand Down

0 comments on commit 91420b3

Please sign in to comment.