Fixed package config and cmake config templates for double variant of the library.
This commit is contained in:
@@ -4,6 +4,6 @@ set(TINYOBJLOADER_VERSION "@TINYOBJLOADER_VERSION@")
|
|||||||
|
|
||||||
set_and_check(TINYOBJLOADER_INCLUDE_DIRS "@PACKAGE_TINYOBJLOADER_INCLUDE_DIR@")
|
set_and_check(TINYOBJLOADER_INCLUDE_DIRS "@PACKAGE_TINYOBJLOADER_INCLUDE_DIR@")
|
||||||
set_and_check(TINYOBJLOADER_LIBRARY_DIRS "@PACKAGE_TINYOBJLOADER_LIBRARY_DIR@")
|
set_and_check(TINYOBJLOADER_LIBRARY_DIRS "@PACKAGE_TINYOBJLOADER_LIBRARY_DIR@")
|
||||||
set(TINYOBJLOADER_LIBRARIES tinyobjloader)
|
set(TINYOBJLOADER_LIBRARIES @LIBRARY_NAME@)
|
||||||
|
|
||||||
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake")
|
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake")
|
||||||
|
|||||||
@@ -11,5 +11,5 @@ Name: @PROJECT_NAME@
|
|||||||
Description: Tiny but powerful single file wavefront obj loader
|
Description: Tiny but powerful single file wavefront obj loader
|
||||||
URL: https://syoyo.github.io/tinyobjloader/
|
URL: https://syoyo.github.io/tinyobjloader/
|
||||||
Version: @TINYOBJLOADER_VERSION@
|
Version: @TINYOBJLOADER_VERSION@
|
||||||
Libs: -L${libdir} -ltinyobjloader
|
Libs: -L${libdir} -l@LIBRARY_NAME@
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
|
|||||||
Reference in New Issue
Block a user