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)
33
44set (DEPTH "./" )
55
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)
78
89include (${GPA_CMAKE_MODULES_DIR} /CommonDefs.cmake)
910include (${GPA_CMAKE_MODULES_DIR} /BuildFlags.cmake)
@@ -18,3 +19,4 @@ set(GPA_ALL_OPEN_SOURCE ON)
1819project (GPUPerfAPI${AMDTInternalSuffix} VERSION ${GPA_MAJOR_VERSION} .${GPA_MINOR_VERSION} LANGUAGES C CXX)
1920
2021include (${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)
66set (GPA_MINOR_VERSION 0)
77
88if (NOT DEFINED GPA_ROOT)
9- set (GPA_ROOT ${CMAKE_SOURCE_DIR } )
9+ set (GPA_ROOT ${CMAKE_CURRENT_SOURCE_DIR } )
1010endif ()
1111
1212if (NOT DEFINED GPA_OUTPUT_DIR)
13- set (GPA_OUTPUT_DIR ${CMAKE_SOURCE_DIR } /Output )
13+ set (GPA_OUTPUT_DIR ${CMAKE_CURRENT_SOURCE_DIR } /Output )
1414endif ()
1515
1616## Set the Common Directories
You can’t perform that action at this time.
0 commit comments