1 # Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
16 # @file CMakeLists.txt
17 # @author Janusz Kozerski (j.kozerski@samsung.com)
20 PKG_CHECK_MODULES(${TARGET_CSR_POPUP}_DEP
27 capi-appfw-application
32 ${${TARGET_CSR_POPUP}_DEP_INCLUDE_DIRS}
34 ${PROJECT_SOURCE_DIR}/src/framework
37 SET(${TARGET_CSR_POPUP}_SRCS
44 ${PROJECT_SOURCE_DIR}/src/framework/ui/common.cpp
47 SET_SOURCE_FILES_PROPERTIES(${${TARGET_CSR_POPUP}_SRCS}
49 COMPILE_FLAGS "-D_GNU_SOURCE -fPIE"
52 ADD_EXECUTABLE(${TARGET_CSR_POPUP} ${${TARGET_CSR_POPUP}_SRCS})
54 TARGET_LINK_LIBRARIES(${TARGET_CSR_POPUP}
55 ${${TARGET_CSR_POPUP}_DEP_LIBRARIES}
60 INSTALL(TARGETS ${TARGET_CSR_POPUP} DESTINATION ${BIN_DIR})