Skip to content

Commit

Permalink
[launch-app] Replace Windows.h with windows.h in traypp
Browse files Browse the repository at this point in the history
  • Loading branch information
gamingdoom authored Feb 15, 2024
1 parent f21b52e commit 9c45679
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/launch-app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
add_subdirectory(extern/traypp EXCLUDE_FROM_ALL)
endif()

if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Linux")
execute_process(COMMAND sed -i -e s/Windows.h/windows.h/ "${CMAKE_CURRENT_BINARY_DIR}/*")
endif()

add_executable(launch-app ${sources} ${Boost_INCLUDE_DIRS} ${RES_PATH})

target_compile_options(launch-app PRIVATE -std=c++17 -Wall -Wextra -Wno-deprecated-declarations -Wno-unused-parameter -g)
Expand Down

0 comments on commit 9c45679

Please sign in to comment.