mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 11:42:45 +08:00
Update src/CMakeLists.txt
This commit is contained in:
parent
3fb3570fa0
commit
dea1c40ad8
|
@ -41,9 +41,10 @@ endif ()
|
|||
source_group("Include" FILES ${freekill_HEADERS})
|
||||
add_executable(FreeKill ${freekill_SRCS})
|
||||
target_link_libraries(FreeKill ${LUA_LIB} ${SQLITE3_LIB} Qt5::Qml Qt5::Gui Qt5::Network Qt5::Multimedia)
|
||||
file(GLOB SWIG_FILES "${PROJECT_SOURCE_DIR}/src/swig/*.i")
|
||||
add_custom_command(
|
||||
OUTPUT ${PROJECT_SOURCE_DIR}/src/swig/freekill-wrap.cxx
|
||||
DEPENDS ${PROJECT_SOURCE_DIR}/src/swig/*.i
|
||||
DEPENDS ${SWIG_FILES}
|
||||
COMMENT "Generating freekill-wrap.cxx"
|
||||
COMMAND swig -c++ -lua -Wall -o
|
||||
${PROJECT_SOURCE_DIR}/src/swig/freekill-wrap.cxx
|
||||
|
|
Loading…
Reference in New Issue
Block a user