Skip to content

Commit

Permalink
Fix last few MSVC warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Auburn committed Mar 12, 2024
1 parent c31c80c commit 306f9bc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ CPMAddPackage(
CPMAddPackage(
NAME magnum
GITHUB_REPOSITORY mosra/magnum
GIT_TAG 7d0a8215d38284f7b7ae041cfbb19d410e5988a6
GIT_TAG b1419017650c83538d8fe4681de6f0bca524cf49
GIT_SUBMODULES "src"
EXCLUDE_FROM_ALL YES
OPTIONS
Expand Down Expand Up @@ -73,7 +73,7 @@ find_package(ImGui REQUIRED SourcesMiscCpp)
CPMAddPackage(
NAME imnodes
GITHUB_REPOSITORY Auburn/imnodes
GIT_TAG 4ccaf656b09fd6b69bdac36f2532756760bd0aa3
GIT_TAG 26b70c528d48beeb839035f3da71550f8b0adfa7
GIT_SUBMODULES ".github"
EXCLUDE_FROM_ALL YES
OPTIONS
Expand Down Expand Up @@ -142,7 +142,6 @@ endif()

if (MSVC)
target_compile_definitions(NodeEditor PRIVATE _CRT_SECURE_NO_WARNINGS=1)
target_compile_options(NodeEditor PRIVATE /wd4244)
endif()

set(install_targets ${install_targets} NodeEditor PARENT_SCOPE)
Expand Down

0 comments on commit 306f9bc

Please sign in to comment.