aboutsummaryrefslogtreecommitdiff
path: root/cube
diff options
context:
space:
mode:
authorJuan Ramos <juan@lunarg.com>2023-10-27 13:00:31 -0600
committerJuan Ramos <114601453+juan-lunarg@users.noreply.github.com>2023-10-27 13:48:20 -0600
commit6d82db744dd1dd2a81480658be3a291c616c5fa4 (patch)
tree8b0a8fccc9fb163a77ada6b4a9616ba1fd01263a /cube
parentb7ce1695084d772d973f2f8146951cc48c57ff4a (diff)
downloadusermoji-6d82db744dd1dd2a81480658be3a291c616c5fa4.tar.xz
build: Fix MinGW build
Removed /guard:cf from CMake build Doesn't seem to actually be needed.
Diffstat (limited to 'cube')
-rw-r--r--cube/CMakeLists.txt7
1 files changed, 0 insertions, 7 deletions
diff --git a/cube/CMakeLists.txt b/cube/CMakeLists.txt
index 8ab409e9..4bb75b8e 100644
--- a/cube/CMakeLists.txt
+++ b/cube/CMakeLists.txt
@@ -84,13 +84,6 @@ endif()
if(WIN32)
add_definitions(-DVK_USE_PLATFORM_WIN32_KHR -DWIN32_LEAN_AND_MEAN)
- if(MSVC AND NOT MSVC_VERSION LESS 1900)
- # If MSVC, Enable control flow guard
- message(STATUS "Building vkcube with control flow guard")
- add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/guard:cf>")
- set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /guard:cf")
- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /guard:cf")
- endif()
elseif(ANDROID)
add_definitions(-DVK_USE_PLATFORM_ANDROID_KHR)
elseif(APPLE)