Add -ldl -lm on linux
This commit is contained in:
parent
8b98ac77d1
commit
8eaf43692f
@ -30,6 +30,10 @@ MOO_WIN32_RESOURCE(medit.rc.in medit MEDIT_SOURCES medit_libs)
|
|||||||
|
|
||||||
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
|
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
|
||||||
|
|
||||||
|
IF(MOO_OS_LINUX)
|
||||||
|
LIST(APPEND MOO_DEP_LIBS m dl)
|
||||||
|
ENDIF(MOO_OS_LINUX)
|
||||||
|
|
||||||
ADD_EXECUTABLE(medit WIN32 ${MEDIT_SOURCES})
|
ADD_EXECUTABLE(medit WIN32 ${MEDIT_SOURCES})
|
||||||
TARGET_LINK_LIBRARIES(medit ${medit_libs} ${MOO_DEP_LIBS})
|
TARGET_LINK_LIBRARIES(medit ${medit_libs} ${MOO_DEP_LIBS})
|
||||||
INSTALL(TARGETS medit DESTINATION ${BINDIR})
|
INSTALL(TARGETS medit DESTINATION ${BINDIR})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user