File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,5 @@ if (NOT FLUX_SDK_PATH)
20
20
endif ()
21
21
endif ()
22
22
23
-
24
- if ( NOT EXISTS ${PROJECT_FLUX_DIRECTORY} )
25
- message (STATUS "Creating directory: ${PROJECT_FLUX_DIRECTORY} " )
26
- file (MAKE_DIRECTORY ${PROJECT_FLUX_DIRECTORY} )
27
- endif ()
28
-
29
23
# crawl the flux-sdk directory and add all the subdirectories
30
24
include (${FLUX_SDK_PATH} /flux_sdk_init.cmake )
Original file line number Diff line number Diff line change 5
5
# flux_sdk_version()
6
6
include (${CMAKE_CURRENT_LIST_DIR} /flux_sdk_version.cmake )
7
7
8
-
8
+ # set language to NONE- disables compiler checks - too
9
+ # project(${CMAKE_PROJECT_NAME} NONE)
9
10
10
11
############################################################################
11
12
# flux_sdk_set_project_directory()
12
13
#
13
14
macro (flux_sdk_set_project_directory project_directory )
15
+
14
16
set (PROJECT_FLUX_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} /${project_directory}/Flux )
17
+
18
+ if ( NOT EXISTS ${PROJECT_FLUX_DIRECTORY} )
19
+ message (STATUS "Creating directory: ${PROJECT_FLUX_DIRECTORY} " )
20
+ file (MAKE_DIRECTORY ${PROJECT_FLUX_DIRECTORY} )
21
+ endif ()
22
+
15
23
endmacro ()
16
24
############################################################################
17
25
# flux_sdk_add_module()
You can’t perform that action at this time.
0 commit comments