update cmakelists
This commit is contained in:
parent
5e28c17115
commit
b3a969176e
|
@ -0,0 +1,16 @@
|
|||
cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
project(libWords)
|
||||
|
||||
set(CMAKE_PREFIX_PATH "~/Qt5.12.4/5.12.4/clang_64/lib/cmake")
|
||||
|
||||
find_package(Qt5 COMPONENTS Core REQUIRED)
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
|
||||
add_library(libWords libwords.cpp)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
|
||||
target_link_libraries(libWords Qt5::Core)
|
Loading…
Reference in New Issue