mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-06 20:53:54 +02:00
make LODEPNG_INCLUDE_DIRS should be dir, not file
This commit is contained in:
parent
04492b28bd
commit
1ba48cf7fe
1 changed files with 5 additions and 2 deletions
|
@ -15,9 +15,12 @@ if (LODEPNG_LIBRARY AND LODEPNG_INCLUDE_DIRS)
|
|||
# in cache already
|
||||
set(LODEPNG_FOUND TRUE)
|
||||
else (LODEPNG_LIBRARY AND LODEPNG_INCLUDE_DIRS)
|
||||
|
||||
|
||||
FIND_PATH(LODEPNG_INCLUDE_DIR "lodepng.h"
|
||||
PATHS ${LODEPNG_ROOT_DIR})
|
||||
|
||||
set(LODEPNG_INCLUDE_DIRS
|
||||
${LODEPNG_ROOT_DIR}/lodepng.h
|
||||
${LODEPNG_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
set(LODEPNG_LIBRARY
|
||||
|
|
Loading…
Reference in a new issue