Skip to content

Commit

Permalink
CMake: Renamed missing ZYCORE_NO_LIBC to ZYAN_NO_LIBC
Browse files Browse the repository at this point in the history
  • Loading branch information
flobernd committed Nov 7, 2018
1 parent 67f9afc commit 72634f6
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 @@ -128,8 +128,8 @@ target_compile_definitions("Zycore" PRIVATE "_CRT_SECURE_NO_WARNINGS" "ZYCORE_EX
zyan_maybe_enable_wpo_for_lib("Zycore")
generate_export_header("Zycore" BASE_NAME "ZYCORE" EXPORT_FILE_NAME "ZycoreExportConfig.h")

if (ZYCORE_NO_LIBC)
target_compile_definitions("Zycore" PUBLIC "ZYCORE_NO_LIBC")
if (ZYAN_NO_LIBC)
target_compile_definitions("Zycore" PUBLIC "ZYAN_NO_LIBC")
endif ()

target_sources("Zycore"
Expand Down

0 comments on commit 72634f6

Please sign in to comment.