Skip to content

Commit

Permalink
fix #5329: apply patch to fix cmake errors (thanks susnux!)
Browse files Browse the repository at this point in the history
  • Loading branch information
abma committed Aug 2, 2016
1 parent 5f0b19e commit 0c78726
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions AI/Wrappers/CUtils/CMakeLists.txt
Expand Up @@ -17,5 +17,6 @@ set(mySources
"${mySourceDir}/TimeUtil.cpp"
)
add_library(CUtils STATIC ${mySources})
target_link_libraries(CUtils ${CMAKE_DL_LIBS})

AIMessage(STATUS "Found AI Wrapper: ${myName} (sources only wrapper)")
2 changes: 2 additions & 0 deletions rts/build/cmake/FindAsciiDoc.cmake
Expand Up @@ -40,6 +40,8 @@ find_file(DOCBOOK_XSL
PATHS /usr /usr/share /usr/local /usr/local/share
PATH_SUFFIXES
xml/docbook/stylesheet/nwalsh/manpages
xml/docbook/stylesheet/nwalsh/1.78.1/manpages
xml/docbook/stylesheet/nwalsh/1.79.0/manpages
sgml/docbook/xsl-stylesheets/manpages
xsl/docbook/manpages
DOC "DocBook XSL Style-Sheet"
Expand Down
2 changes: 1 addition & 1 deletion rts/build/cmake/TestCXXFlags.cmake
Expand Up @@ -161,7 +161,7 @@ if (CMAKE_COMPILER_IS_GNUCXX)
ERROR_VARIABLE linkerVersion
)
set(hasGold FALSE)
if (${linkerVersion} MATCHES "gold")
if ("${linkerVersion}" MATCHES "gold")
set(hasGold TRUE)
endif()

Expand Down

0 comments on commit 0c78726

Please sign in to comment.