1
0
Fork 0

Only include IAX 3rdparty files if needed

This commit is contained in:
Christian Schmitt 2014-05-31 13:50:28 +02:00
parent 3b4bb10e4f
commit 568dadc898

View file

@ -186,6 +186,7 @@ endif()
if(ENABLE_FGCOM)
set(ENABLE_IAX 1)
include_directories(${PROJECT_SOURCE_DIR}/3rdparty/iaxclient/lib ) # for iaxclient.h
endif()
# Setup MSVC 3rd party directories
@ -339,7 +340,6 @@ include_directories(${OPENSCENEGRAPH_INCLUDE_DIRS}
include_directories(${PROJECT_SOURCE_DIR})
include_directories(${PROJECT_SOURCE_DIR}/src)
include_directories(${PROJECT_SOURCE_DIR}/3rdparty/iaxclient/lib ) # for iaxclient.h
# following is needed, because config.h is include 'bare', whereas
# version.h is included as <Include/version.h> - this should be cleaned up
include_directories(${PROJECT_BINARY_DIR}/src)