Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.

Commit b9c72fb

Browse files
committed
COMP: Adapt to new qRestAPI cmake
This removes the use of the old `qRestAPI_USE_FILE`. As of today, this is a SystoleOS adaptation that should not reach the official Slicer repository until commontk/qRestAPI#25 gets merged.
1 parent 4dd3213 commit b9c72fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Base/QTCore/CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ endif()
4141
# qRestAPI
4242
#
4343
if(Slicer_BUILD_EXTENSIONMANAGER_SUPPORT OR Slicer_BUILD_APPLICATIONUPDATE_SUPPORT)
44-
find_package(qRestAPI REQUIRED)
45-
include(${qRestAPI_USE_FILE})
46-
endif()
44+
find_package(qRestAPI REQUIRED)
45+
endif()
4746

4847
#
4948
# CTKAppLauncherLib
@@ -60,6 +59,7 @@ set(KIT_export_directive "Q_SLICER_BASE_QTCORE_EXPORT")
6059
set(KIT_include_directories
6160
${MRMLLogic_INCLUDE_DIRS}
6261
${MRMLDisplayableManager_INCLUDE_DIRS}
62+
${qRestAPI_INCLUDE_DIRS}
6363
)
6464

6565
if(Slicer_BUILD_CLI_SUPPORT)

0 commit comments

Comments
 (0)