Small mistake: MIO lib not properly linked on OS != Windows
This commit is contained in:
@@ -133,7 +133,14 @@ add_executable(kaizen
|
|||||||
src/frontend/Debugger.hpp
|
src/frontend/Debugger.hpp
|
||||||
src/frontend/Debugger.cpp)
|
src/frontend/Debugger.cpp)
|
||||||
|
|
||||||
target_link_libraries(kaizen PUBLIC imgui SDL3::SDL3 SDL3::SDL3-static cflags::cflags mio::mio_full_winapi parallel-rdp capstone backend)
|
|
||||||
|
if (WIN32)
|
||||||
|
set(MIO_LIB mio::mio_full_winapi)
|
||||||
|
else()
|
||||||
|
set(MIO_LIB mio::mio)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
target_link_libraries(kaizen PUBLIC imgui SDL3::SDL3 SDL3::SDL3-static cflags::cflags ${MIO_LIB} parallel-rdp capstone backend)
|
||||||
target_compile_definitions(kaizen PUBLIC SDL_MAIN_HANDLED)
|
target_compile_definitions(kaizen PUBLIC SDL_MAIN_HANDLED)
|
||||||
|
|
||||||
file(COPY resources/ DESTINATION ${PROJECT_BINARY_DIR}/resources/)
|
file(COPY resources/ DESTINATION ${PROJECT_BINARY_DIR}/resources/)
|
||||||
|
|||||||
Reference in New Issue
Block a user