Skip to content

Commit 87c9256

Browse files
CMake: fix the option() order
I'd forgot to save the file before Git commit... Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
1 parent 09496c6 commit 87c9256

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
3131

3232
set(TARGETS_EXPORT_NAME "TinyCBOR-targets")
3333

34-
option(WITH_CBOR2JSON "Compile code to convert from CBOR to JSON" ON)
34+
option(WITH_FLOATING_POINT "Use floating point code in TinyCBOR" ON)
3535
option(WITH_FREESTANDING "Compile TinyCBOR in C freestanding mode" OFF)
3636
if(WITH_FLOATING_POINT AND NOT WITH_FREESTANDING)
37-
option(WITH_FLOATING_POINT "Use floating point code in TinyCBOR" ON)
37+
option(WITH_CBOR2JSON "Compile code to convert from CBOR to JSON" ON)
3838
option(WITH_TOOLS "Compile the TinyCBOR tools" ON)
3939
endif()
4040

0 commit comments

Comments
 (0)