Skip to content

Commit

Permalink
In windows we are renaming the platform, so the get name should be af…
Browse files Browse the repository at this point in the history
…ter the rename
  • Loading branch information
tesonep committed Nov 22, 2021
1 parent 9c4cfe5 commit b0aa2aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,6 @@ if(MSVC AND NOT ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
endif()
message(STATUS "Compiling for architecture: ${CMAKE_SYSTEM_PROCESSOR}")

get_platform_name(FULL_PLATFORM_NAME)
message(STATUS "Full Platform name: ${FULL_PLATFORM_NAME}")

# Windows setjmp does not work as Unix's
# by it default will unwind the stack, which is not possible in generated code
# setjmp has an extra argument not exposed in C to avoid unwinding
Expand Down Expand Up @@ -286,6 +283,9 @@ elseif(UNIX)
endif()
endif()

get_platform_name(FULL_PLATFORM_NAME)
message(STATUS "Full Platform name: ${FULL_PLATFORM_NAME}")

set(OPTIMIZATION_FLAGS "")

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g ${COMMON_FLAGS} ${OPTIMIZATION_FLAGS} -DNDEBUG -DDEBUGVM=0")
Expand Down

0 comments on commit b0aa2aa

Please sign in to comment.