Fix cmake file so project can be used as a subproject

This commit is contained in:
King_DuckZ 2016-08-26 00:12:19 +02:00
parent 28d9c8e448
commit 69d70d6721
1 changed files with 2 additions and 2 deletions

View File

@ -66,8 +66,8 @@ if (CMAKE_COMPILER_IS_GNUC)
endif (NOT CONFIGURED) endif (NOT CONFIGURED)
endif () endif ()
configure_file (${CMAKE_SOURCE_DIR}/miniupnpcstrings.h.cmake ${CMAKE_BINARY_DIR}/miniupnpcstrings.h) configure_file (${CMAKE_CURRENT_SOURCE_DIR}/miniupnpcstrings.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/miniupnpcstrings.h)
include_directories (${CMAKE_BINARY_DIR}) include_directories (${CMAKE_CURRENT_BINARY_DIR})
set (MINIUPNPC_SOURCES set (MINIUPNPC_SOURCES
igd_desc_parse.c igd_desc_parse.c