Skip to content

Commit

Permalink
Fix mingw build error
Browse files Browse the repository at this point in the history
  • Loading branch information
nathansoz committed Jan 13, 2016
1 parent 518beb6 commit a7d4157
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion C/Chapter2/2-1/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ include_directories("${PROJECT_INCLUDE_DIR}")
add_library(${PROJECT_NAME} SHARED ${SOURCES})

add_executable(main-${PROJECT_NAME} main.c)
target_link_libraries(${PROJECT_NAME} data_structures)
target_link_libraries(main-${PROJECT_NAME} data_structures)
target_link_libraries(main-${PROJECT_NAME} ${PROJECT_NAME})
target_link_libraries(main-${PROJECT_NAME} data_structures)

0 comments on commit a7d4157

Please sign in to comment.