Fixed package config and cmake config templates for double variant of the library.

This commit is contained in:
noma
2017-04-24 17:41:22 +02:00
parent 69e56db124
commit b1ac3a6c7e
2 changed files with 2 additions and 2 deletions

View File

@@ -4,6 +4,6 @@ set(TINYOBJLOADER_VERSION "@TINYOBJLOADER_VERSION@")
set_and_check(TINYOBJLOADER_INCLUDE_DIRS "@PACKAGE_TINYOBJLOADER_INCLUDE_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")

View File

@@ -11,5 +11,5 @@ Name: @PROJECT_NAME@
Description: Tiny but powerful single file wavefront obj loader
URL: https://syoyo.github.io/tinyobjloader/
Version: @TINYOBJLOADER_VERSION@
Libs: -L${libdir} -ltinyobjloader
Libs: -L${libdir} -l@LIBRARY_NAME@
Cflags: -I${includedir}