Fixed a typo and cleaned up CMakeLists.txt
This commit is contained in:
parent
366871fc01
commit
d33b4f0044
1 changed files with 8 additions and 4 deletions
|
@ -18,8 +18,8 @@ IF (APPLE)
|
||||||
ADD_DEFINITIONS(
|
ADD_DEFINITIONS(
|
||||||
-D_MACOSX
|
-D_MACOSX
|
||||||
)
|
)
|
||||||
ELSE ()
|
ELSE (APPLE)
|
||||||
SET( tellusbd101_SRC
|
SET( tellusbd101_SRCS
|
||||||
${tellusbd101_SRCS}
|
${tellusbd101_SRCS}
|
||||||
linux/Device.cpp
|
linux/Device.cpp
|
||||||
settings/TelldusSettingsConfuse.cpp
|
settings/TelldusSettingsConfuse.cpp
|
||||||
|
@ -28,7 +28,7 @@ ELSE ()
|
||||||
-D_LINUX
|
-D_LINUX
|
||||||
)
|
)
|
||||||
|
|
||||||
ENDIF ()
|
ENDIF (APPLE)
|
||||||
|
|
||||||
ADD_LIBRARY(tellusbd101 SHARED
|
ADD_LIBRARY(tellusbd101 SHARED
|
||||||
${tellusbd101_SRCS}
|
${tellusbd101_SRCS}
|
||||||
|
@ -41,6 +41,10 @@ IF (APPLE)
|
||||||
${COREFOUNDATION_LIBRARY}
|
${COREFOUNDATION_LIBRARY}
|
||||||
ftd2xx
|
ftd2xx
|
||||||
)
|
)
|
||||||
|
ELSE (APPLE)
|
||||||
|
TARGET_LINK_LIBRARIES(tellusbd101
|
||||||
|
confuse
|
||||||
|
)
|
||||||
ENDIF (APPLE)
|
ENDIF (APPLE)
|
||||||
|
|
||||||
INSTALL(TARGETS tellusbd101 LIBRARY
|
INSTALL(TARGETS tellusbd101 LIBRARY
|
||||||
|
@ -63,4 +67,4 @@ IF (UNIX)
|
||||||
tellstick.conf
|
tellstick.conf
|
||||||
DESTINATION ${SYSCONF_INSTALL_DIR}
|
DESTINATION ${SYSCONF_INSTALL_DIR}
|
||||||
)
|
)
|
||||||
ENDIF ()
|
ENDIF (UNIX)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue