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(
|
||||
-D_MACOSX
|
||||
)
|
||||
ELSE ()
|
||||
SET( tellusbd101_SRC
|
||||
ELSE (APPLE)
|
||||
SET( tellusbd101_SRCS
|
||||
${tellusbd101_SRCS}
|
||||
linux/Device.cpp
|
||||
settings/TelldusSettingsConfuse.cpp
|
||||
|
@ -28,7 +28,7 @@ ELSE ()
|
|||
-D_LINUX
|
||||
)
|
||||
|
||||
ENDIF ()
|
||||
ENDIF (APPLE)
|
||||
|
||||
ADD_LIBRARY(tellusbd101 SHARED
|
||||
${tellusbd101_SRCS}
|
||||
|
@ -41,6 +41,10 @@ IF (APPLE)
|
|||
${COREFOUNDATION_LIBRARY}
|
||||
ftd2xx
|
||||
)
|
||||
ELSE (APPLE)
|
||||
TARGET_LINK_LIBRARIES(tellusbd101
|
||||
confuse
|
||||
)
|
||||
ENDIF (APPLE)
|
||||
|
||||
INSTALL(TARGETS tellusbd101 LIBRARY
|
||||
|
@ -63,4 +67,4 @@ IF (UNIX)
|
|||
tellstick.conf
|
||||
DESTINATION ${SYSCONF_INSTALL_DIR}
|
||||
)
|
||||
ENDIF ()
|
||||
ENDIF (UNIX)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue