summaryrefslogtreecommitdiff
blob: 8cfa9f52b079445d61517bb3d16cd9a80755a426 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
--- CMakeLists.txt.orig	2015-06-25 22:02:55.041406946 +0200
+++ CMakeLists.txt	2015-06-25 22:03:51.841696845 +0200
@@ -11,7 +11,6 @@
 set (BASE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
 
 # Dependencies
-include (${CMAKE_CURRENT_SOURCE_DIR}/cmake/BuildBinutils.cmake)
 
 find_package (LibElf REQUIRED)
 find_package (PkgConfig REQUIRED)
@@ -30,10 +29,6 @@
 pkg_check_modules(LIBCURL REQUIRED libcurl)
 
 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -Wall -D_GLIBCXX_USE_NANOSLEEP -DPACKAGE=emilpro -DPACKAGE_VERSION=1 -pthread")
-LINK_DIRECTORIES(
-	${CMAKE_BINARY_DIR}/install-binutils/lib ${CMAKE_BINARY_DIR}/install-binutils/lib64
-	${CMAKE_BINARY_DIR}/binutils/libiberty
-	)
 
 if (HAVE_BFD_MULTIARCH)
 	set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DHAVE_BFD_MULTIARCH")
@@ -109,7 +104,6 @@
 set_property(SOURCE src/emilpro.cc APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_BINARY_DIR}/built_in_instruction_models.hh)
 
 include_directories(
-	${CMAKE_BINARY_DIR}/install-binutils/include/
 	src/gtk/include/
 	src/include/
 	${CMAKE_BINARY_DIR}
@@ -131,9 +125,6 @@
 	tools/squash-instruction-models.cc
 	)
 
-set_property(TARGET emilpro APPEND PROPERTY OBJECT_DEPENDS binutils)
-set_property(TARGET tools/squash-instruction-models APPEND PROPERTY OBJECT_DEPENDS binutils)
-
 set (BASE_LIBS
 	${LIBELF_LIBRARIES}
 	opcodes