Library not found (Windows)

ok, it ended working on windows with the next CMakeList.txt:

cmake_minimum_required (VERSION 3.8)
project(multiDimIndex)

add_library(format format.cpp)
ADD_DEFINITIONS(-DGC_NOT_DLL)
add_executable (multiDimIndex “multiDimIndex.cpp” “multiDimIndex.h” “${CMAKE_SOURCE_DIR}/gclib/gc.h”) #“…/PruebaGC/include/gc.h”) “./gc-lib/gc.h”
TARGET_LINK_LIBRARIES(multiDimIndex gc-lib format)