Explorar el Código

fix(CMakeLists): set FDISK_BIN if not defined

greatbridf hace 2 años
padre
commit
2de03e53eb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -44,7 +44,7 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "Release")
     set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O")
 endif()
 
-if (FDISK_BIN STREQUAL "")
+if (NOT DEFINED FDISK_BIN)
     set(FDISK_BIN fdisk)
 endif()