mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 23:30:29 -04:00
18 lines
540 B
Text
18 lines
540 B
Text
--- server/supernova/CMakeLists.txt.orig 2020-11-15 17:38:26 UTC
|
|
+++ server/supernova/CMakeLists.txt
|
|
@@ -182,7 +182,14 @@ if(WIN32)
|
|
endif()
|
|
|
|
|
|
-add_executable(supernova server/main.cpp ${supernova_headers})
|
|
+add_executable(supernova
|
|
+ server/main.cpp
|
|
+ ${supernova_headers}
|
|
+
|
|
+ # these files contain code only used in main()
|
|
+ ${CMAKE_SOURCE_DIR}/common/SC_ServerBootDelayWarning.cpp
|
|
+ $<$<BOOL:${APPLE}>: ${CMAKE_SOURCE_DIR}/common/SC_AppleEventLoop.mm >
|
|
+ )
|
|
target_link_libraries(supernova libsupernova)
|
|
|
|
if(WIN32)
|