Clean up CMakeLists

This commit is contained in:
Mm2PL 2023-01-30 21:21:09 +01:00
parent b4a20e15c0
commit 602b9a738c
No known key found for this signature in database
GPG key ID: 94AC9B80EFA15ED9
2 changed files with 0 additions and 9 deletions

View file

@ -151,11 +151,6 @@ endif()
set(LUA_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/lib/lua/src") set(LUA_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/lib/lua/src")
add_subdirectory(lib/lua) add_subdirectory(lib/lua)
#add_custom_target(
# Lua ALL
# COMMAND make
# WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/lib/lua
#)
set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)

View file

@ -603,10 +603,6 @@ if (CHATTERINO_GENERATE_COVERAGE)
endif () endif ()
#add_dependencies(${LIBRARY_PROJECT} Lua)
#target_include_directories(${LIBRARY_PROJECT}
# PUBLIC "${CMAKE_SOURCE_DIR}/lib/lua/"
# )
target_link_libraries(${LIBRARY_PROJECT} target_link_libraries(${LIBRARY_PROJECT}
PUBLIC PUBLIC
Qt${MAJOR_QT_VERSION}::Core Qt${MAJOR_QT_VERSION}::Core