File tree Expand file tree Collapse file tree 3 files changed +9
-18
lines changed
Expand file tree Collapse file tree 3 files changed +9
-18
lines changed Original file line number Diff line number Diff line change @@ -121,9 +121,10 @@ set_target_properties(${PROJECT_NAME} PROPERTIES
121121
122122##################################
123123
124- # Mirror the folder structure in an IDE
125- include (sourcetree.cmake)
126- create_source_tree(${includes} ${sources} )
124+ source_group (TREE "${CMAKE_CURRENT_SOURCE_DIR} " FILES
125+ ${includes}
126+ ${sources}
127+ )
127128
128129################################################################################
129130### Installation rules
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.5.1 ...4.0)
1+ cmake_minimum_required (VERSION 3.13 ...4.0)
22
33project (fineftp_example)
44
5- set (CMAKE_CXX_STANDARD 14)
6-
75set (CMAKE_FIND_PACKAGE_PREFER_CONFIG TRUE )
86find_package (fineftp REQUIRED)
97
@@ -18,3 +16,7 @@ add_executable (${PROJECT_NAME}
1816target_link_libraries (${PROJECT_NAME}
1917 fineftp::server
2018)
19+
20+ target_compile_features (${PROJECT_NAME}
21+ PUBLIC cxx_std_14
22+ )
You can’t perform that action at this time.
0 commit comments