Fix Windows compilation
This commit is contained in:
@@ -16,6 +16,7 @@ if (HAS_SSE4_1)
|
||||
add_compile_options(-msse3 -msse4.1)
|
||||
endif ()
|
||||
|
||||
add_compile_definitions(SDL_MAIN_HANDLED)
|
||||
if(${CMAKE_BUILD_TYPE} MATCHES Debug)
|
||||
add_compile_definitions(VULKAN_DEBUG)
|
||||
#add_compile_options(-fsanitize=address -fsanitize=undefined)
|
||||
|
||||
@@ -4,9 +4,10 @@ project(kaizen-qt)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
|
||||
find_package(SDL2 REQUIRED)
|
||||
find_package(SDL2 CONFIG REQUIRED)
|
||||
|
||||
include_directories(
|
||||
${SDL2_INCLUDE_DIRS}
|
||||
.
|
||||
../
|
||||
../utils
|
||||
|
||||
Reference in New Issue
Block a user