1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-22 16:20:05 +00:00

cmake: add resource (settings windows icon)

This commit is contained in:
Anonymous Maarten 2021-01-03 19:08:59 +01:00 committed by shfil
parent a78e4a3366
commit 96e2ba19f8

View file

@ -1,7 +1,7 @@
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
file(GLOB_RECURSE RE3_SOURCES "*.cpp" "*.h")
file(GLOB_RECURSE RE3_SOURCES "*.cpp" "*.h" "*.rc")
function(header_directories RETURN_LIST)
file(GLOB_RECURSE ALL_SRCS *.h *.cpp *.c)
@ -17,7 +17,10 @@ endfunction()
header_directories(RE3_INCLUDES)
add_executable(re3 WIN32 ${RE3_SOURCES})
add_executable(re3 WIN32
${RE3_SOURCES}
)
target_link_libraries(re3 PRIVATE
librw::librw
Threads::Threads