2017-01-06 18:07:52 +00:00
|
|
|
diff -up gdl-0.9.7rc1-20161104/src/CMakeLists.txt.antlr gdl-0.9.7rc1-20161104/src/CMakeLists.txt
|
|
|
|
--- gdl-0.9.7rc1-20161104/src/CMakeLists.txt.antlr 2016-10-19 15:14:13.000000000 -0600
|
|
|
|
+++ gdl-0.9.7rc1-20161104/src/CMakeLists.txt 2016-11-04 16:03:32.618417108 -0600
|
|
|
|
@@ -266,9 +266,7 @@ widget.cpp
|
2014-10-09 22:45:38 +00:00
|
|
|
widget.hpp
|
2011-03-18 22:15:03 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
-add_subdirectory(antlr)
|
|
|
|
-
|
2011-04-15 16:57:21 +00:00
|
|
|
-include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/src/antlr ${CMAKE_BINARY_DIR})
|
|
|
|
+include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/src ${CMAKE_BINARY_DIR})
|
2011-03-18 22:15:03 +00:00
|
|
|
link_directories(${LINK_DIRECTORIES})
|
|
|
|
|
2017-01-06 18:07:52 +00:00
|
|
|
if(PYTHON_MODULE) #GDL.so
|
|
|
|
@@ -282,7 +280,6 @@ else(PYTHON_MODULE) #GDL.so
|
2011-04-15 16:57:21 +00:00
|
|
|
add_executable(gdl ${SOURCES})
|
|
|
|
endif(PYTHON_MODULE)
|
|
|
|
|
|
|
|
-add_dependencies(gdl antlr) # be sure that antlr is built before gdl
|
|
|
|
target_link_libraries(gdl antlr) # link antlr against gdl
|
2014-10-09 22:45:38 +00:00
|
|
|
if (MINGW)
|
|
|
|
target_link_libraries(gdl ws2_32)
|