CMakeLists.txt

changeset 92
39947c46ed17
parent 89
777b2a10b835
child 97
2d43f05b284c
equal deleted inserted replaced
91:ac02cf1c3576 92:39947c46ed17
52 include_directories (huffman) 52 include_directories (huffman)
53 add_executable (${TARGET_NAME} ${SOURCE_FILES} ${HEADER_FILES}) 53 add_executable (${TARGET_NAME} ${SOURCE_FILES} ${HEADER_FILES})
54 target_link_libraries (${TARGET_NAME} huffman) 54 target_link_libraries (${TARGET_NAME} huffman)
55 55
56 if (WIN32) 56 if (WIN32)
57 add_definitions ("-D_CRT_SEURE_NO_WARNINGS") 57 add_definitions (-D_CRT_SECURE_NO_WARNINGS)
58 target_link_libraries (${TARGET_NAME} wsock32 ws2_32) 58 target_link_libraries (${TARGET_NAME} wsock32 ws2_32)
59 59
60 if (PDCURSES_PATH OR PDCURSES_WIN32A_PATH) 60 if (PDCURSES_PATH OR PDCURSES_WIN32A_PATH)
61 if (NOT PDCURSES_PATH) 61 if (NOT PDCURSES_PATH)
62 set (PDCURSES_PATH "${PDCURSES_WIN32A_PATH}") 62 set (PDCURSES_PATH "${PDCURSES_WIN32A_PATH}")

mercurial