Kaynağa Gözat

CMake: Add targets to build directory as config file

This allows consumers to find the library directly from the build directory, using find package config mode.
Michael Ragazzon 1 yıl önce
ebeveyn
işleme
3ac3821c2a
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      CMakeLists.txt

+ 2 - 2
CMakeLists.txt

@@ -194,10 +194,10 @@ install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/CMake/Modules"
 )
 
 if(RMLUI_IS_ROOT_PROJECT)
-	# Export build targets if RmlUi is the top-level project.
+	# Export build tree targets if RmlUi is the top-level project.
 	export(EXPORT RmlUiTargets
 		NAMESPACE RmlUi::
-		FILE RmlUiTargets.cmake
+		FILE RmlUiConfig.cmake
 	)
 endif()