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
121
121
122
122
##################################
123
123
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
+ )
127
128
128
129
################################################################################
129
130
### 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 )
2
2
3
3
project (fineftp_example )
4
4
5
- set (CMAKE_CXX_STANDARD 14 )
6
-
7
5
set (CMAKE_FIND_PACKAGE_PREFER_CONFIG TRUE )
8
6
find_package (fineftp REQUIRED )
9
7
@@ -18,3 +16,7 @@ add_executable (${PROJECT_NAME}
18
16
target_link_libraries (${PROJECT_NAME}
19
17
fineftp::server
20
18
)
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