File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ cmake_minimum_required(VERSION 3.5.1)
3
3
4
4
set (DEPTH "./" )
5
5
6
- set (GPA_CMAKE_MODULES_DIR ${CMAKE_SOURCE_DIR} /CMakeModules )
6
+ message ("CMake: Generating project files for GPA...." )
7
+ set (GPA_CMAKE_MODULES_DIR ${CMAKE_CURRENT_SOURCE_DIR} /CMakeModules )
7
8
8
9
include (${GPA_CMAKE_MODULES_DIR} /CommonDefs.cmake )
9
10
include (${GPA_CMAKE_MODULES_DIR} /BuildFlags.cmake )
@@ -18,3 +19,4 @@ set(GPA_ALL_OPEN_SOURCE ON)
18
19
project (GPUPerfAPI${AMDTInternalSuffix} VERSION ${GPA_MAJOR_VERSION} .${GPA_MINOR_VERSION} LANGUAGES C CXX )
19
20
20
21
include (${GPA_CMAKE_MODULES_DIR} /Targets.cmake )
22
+ message ("CMake: Finished generating project files for GPA." )
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ set(GPA_MAJOR_VERSION 3)
6
6
set (GPA_MINOR_VERSION 0 )
7
7
8
8
if (NOT DEFINED GPA_ROOT )
9
- set (GPA_ROOT ${CMAKE_SOURCE_DIR } )
9
+ set (GPA_ROOT ${CMAKE_CURRENT_SOURCE_DIR } )
10
10
endif ()
11
11
12
12
if (NOT DEFINED GPA_OUTPUT_DIR )
13
- set (GPA_OUTPUT_DIR ${CMAKE_SOURCE_DIR } /Output )
13
+ set (GPA_OUTPUT_DIR ${CMAKE_CURRENT_SOURCE_DIR } /Output )
14
14
endif ()
15
15
16
16
## Set the Common Directories
You can’t perform that action at this time.
0 commit comments