Due some errors [1] trying to compile llhdl in my debian squeeze system
just as it is after clone the repo, i did some minor modification to the
sources in order to make it compile on my system, and i hope in other in
wich i may break too:

Sorry for the crossposting, but as i dint get activity from llhdl mailing
list i decided to post this in Milkymist also.

Patch follow:

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 568073f..599a2e8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@ set(CMAKE_CXX_COMPILER clang++)
 
 project(LLHDL)
   
-set(CMAKE_C_FLAGS "-O2 -Wall -D_GNU_SOURCE -g")
+set(CMAKE_C_FLAGS "-O2 -Wall -D_GNU_SOURCE -g -lgmp")
 set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}")
     
 set(LLHDL_VERSION_MAJOR 0)
@@ -25,7 +25,7 @@
include_directories("${PROJECT_SOURCE_DIR}/include")
 # system libraries
        
 find_package(GMP REQUIRED)
-include_directories("${GMP_INCLUDES}")
+include_directories("${GMP_INCLUDES}/include")
  
 # subdirectories

[1] http://paste.debian.net/108576/

Attachment: signature.asc
Description: Digital signature

_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkymist@Freenode
Twitter: www.twitter.com/milkymistvj
Ideas? http://milkymist.uservoice.com

Reply via email to