Skip to content

Commit

Permalink
Fixed linker problem.
Browse files Browse the repository at this point in the history
Any Windows build with cmake would try to link the tinfo library.
  • Loading branch information
hal7df committed Jun 17, 2014
1 parent 18bb8db commit 1784136
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion iash/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

add_library(iash iash.cpp crosslib.cpp)
target_link_libraries(iash tinfo)

if(UNIX)
target_link_libraries(iash tinfo)
endif()

0 comments on commit 1784136

Please sign in to comment.