cmake: remove unused include dirs and move it to root CMakeLists.txt

This commit is contained in:
Vic Lee 2011-07-04 15:41:53 +08:00
parent f8223ec5a2
commit d5ad1af3f5
8 changed files with 4 additions and 18 deletions

View File

@ -55,6 +55,10 @@ test_big_endian(BIG_ENDIAN)
# Path to put keymaps
set(FREERDP_KEYMAP_PATH "${CMAKE_INSTALL_PREFIX}/freerdp/keymaps")
# Include directories
include_directories(${CMAKE_SOURCE_DIR})
include_directories(${CMAKE_SOURCE_DIR}/include)
# Configure files
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)

View File

@ -19,8 +19,6 @@
include_directories(${CUNIT_INCLUDE_DIRS})
include_directories(.)
include_directories(../include)
include_directories(../libfreerdp-core)
include_directories(../libfreerdp-gdi)

View File

@ -17,8 +17,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
include_directories(.)
include_directories(../../include)
include_directories(../../libfreerdp-core)
add_executable(freerdp-test

View File

@ -17,8 +17,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
include_directories(.)
set(COMMON_SRCS
asn_application.h
asn_codecs.h

View File

@ -17,9 +17,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
include_directories(.)
include_directories(../include)
add_definitions(-DL_ENDIAN=1)
add_definitions(-DEXT_PATH="/usr/lib/freerdp/extensions")

View File

@ -17,9 +17,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
include_directories(.)
include_directories(../include)
set(FREERDP_GDI_SRCS
color.c
color.h

View File

@ -17,9 +17,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
include_directories(.)
include_directories(../include)
set(FREERDP_KBD_SRCS
keyboard.h
locales.c

View File

@ -17,9 +17,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
include_directories(.)
include_directories(../include)
set(FREERDP_UTILS_SRCS
datablob.c
hexdump.c